A dynamic, open source programming language with a focus on simplicity and productivity. (quote: ruby-lang.org)

learn more… | top users | synonyms

2
votes
1answer
54 views

How to make a Openbox dockapp with GTK?

I'm using Openbox and I want to make a dock-app (NOTE: not a dock like plank/docky but a dock-app like stalonetray or lal) in GTK+. How do I get the simple app I have written to sit in the dock area? ...
1
vote
1answer
63 views

FATAL: role “roelof” does not exist

I did install postgresql according to the manual. But as soon as I do rails server I see the above error. Roelof Edit 1: the sudo -u postgres createuser roelof did the trick but now when I do rake ...
1
vote
1answer
28 views

How to install postgressql-server

For ruby development on Heroku I need to use postgresql, but when I do bundle install I see this message: You need to install postgresql-server-dev-X.Y for building a server-side extension or ...
1
vote
1answer
3k views

rvm /usr/bin/env: ruby no such file error

I've installed rvm + ruby systemwide. which ruby /usr/local/rvm/rubies/ruby-2.1.1/bin/ruby and: /usr/bin/env: ruby: No such file or directory Everything else works fine, putting direct path of ...
1
vote
1answer
167 views

Gsl ruby gem on Ubuntu Saucy (13.10)

I'm trying to install the gsl gem on Ubuntu Saucy I installed the relevant gsl packages with sudo apt-get install gsl-bin libgsl0-dev But then installing the gem fails In file included from ...
1
vote
1answer
672 views

Successfully installed SASS, but the terminal insists it isn't

I wanted to install sass version 3.2.0 alpha. I first ran sudo apt-get install libhaml-ruby1.8, which is what the console recommended It successfully installed, but it installed an older version ...
0
votes
1answer
261 views

Install Ruby, Rails, Gems, Passenger for 1.8.7 on Ubuntu 14.04

I am trying to move a Ruby site to a new host that's running Ubuntu 14.04, but it needs Ruby 1.8.7. I can use rvm to install 1.8.7, but I'm unsure of how to get rails, gems, and passenger working for ...
0
votes
1answer
504 views

Installing Ruby and RubyGems

Hi everybody I would like to know is it possible to install Ruby and RubyGems in apache2. Because i have already a web using apache2 and want to install a Fedena which requires Ruby and RubyGems to ...
0
votes
1answer
100 views

rvm how turn it on always when we open terminal in ubuntu 13.10

I am new user of 13.10 ubuntu I am facing one problem when want to install rvm, even though it is already install and using it on virtualt box. Problem is that when i start terminal and put to check ...
0
votes
1answer
138 views

Ruby on Rails on ubuntu 13.04 using rvm

I am trying to get WEBrick to work rvm gemset list gemsets for ruby-1.8.7-p374 (found in /home/simon/.rvm/gems/ruby-1.8.7-p374) (default) global => simple_cms my gem list gem list *** ...
0
votes
1answer
87 views

Installing ruby with rvm and making ruby visible to bash

I installed rvm according to the instructions from the official website. Then I installed two ruby versions While rvm was visible to bash, ruby was not. I was browsing the web for a solution and I ...
0
votes
1answer
112 views

Getting always - “xmpfilter: command not found”

I have installed vim plug-in - t9md/vim-ruby-xmpfilter. My .vimrc contains 1 set nocompatible " We're running Vim, not Vi! 2 syntax on " Enable syntax highlighting 3 filetype ...
0
votes
1answer
299 views

How to access Ruby on Rails Assets from a Host Machine

I am running a Ruby on Rails server on an Ubuntu VirtualBox guest machine. I can access the local server from my host machine by setting the Ubuntu network adapter to bridged. My app's hmtl is ...
0
votes
1answer
206 views

Installing rbenv apt-get vs git checkout

I'm finding confliccting advice on how to install rbenv (and ruby) in recent ubuntu versions (13.10). Many guides suggest cloning from git, and updating bashrc etc. For example this guide on ...
0
votes
1answer
860 views

Rails 3: No route matches error

I am trying to create a simple form in Rails 3. But facing this issue: Showing /home/praveen/rails_projects/mebay/app/views/ads/new.html.erb where line #2 raised: No route matches ...
0
votes
1answer
185 views

gssapi requires Ruby version >= 1.9.1. on gem install

I'm trying to install knife-cloudstack plugin using gem install on Ubuntu 12.04 with chef-client configured and got error as said in title. >gem install knife-cloudstack ERROR: Error installing ...
0
votes
1answer
175 views

Download a particular version of a package with apt

I wish to download a particular version of a package. The package in question is ruby1.9.3 which has a Ubuntu native version and a Brightbox PPA version. I have the PPA version installed and that ...
0
votes
1answer
157 views

How do I install an Xbee? I am trying to do it with ruby

Download the ruby-xbee tarball from Here. Extracted the bundle into its permanent directory: cd to /ruby*pcc Did $ ln -s ruby-serial-port-0.6-linux-intel ruby-serialport-0.6 $ ruby extconf.rb ...
0
votes
1answer
499 views

Unable install rails in ubuntu 12.10

I am trying to install rails in my ubuntu 12.10, but I am unsuccessful in doing it. I am getting the error about packages. Here is the sample exmple E: Unable to locate package libsql What I did ...
3
votes
0answers
2k views

Install compass 1 pre fails

I can not install compass version 1. $ ruby -v ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux] And when I do: $ sudo gem install compass --pre I get following error: Building native ...
3
votes
0answers
2k views

Failed to install a ruby gem, eventmachine

I attempts to run a script that prompt Could not find gem 'eventmachine (= 0.12.10) ruby' in the gems available on this machine. Run bundle install to install missing gems. Then I runs ...
2
votes
0answers
34 views

Termial not accepting options

I'm using Ubuntu 14.10, and for some reason the terminal command will not accept options. (I believe these are called option, please correct me if I am wrong). For example, when installing a new ...
2
votes
0answers
88 views

Ruby's ri not working - 'Marshall data too short'

I'm running Lubuntu 13.10, I installed Ruby (1.9.3p194), Gems(1.8.23), ri(4.1.1), rdoc and some gems (Rails, RSpec, haml...) from the apt-get repository. When I try to run ri, it gives me the ...
1
vote
0answers
66 views

Confusion for mime files: magic, magic.mgc, magic.mime

I'm using Ubuntu. I'm trying to use ruby gem 'shared-mime-info' for an application I'm writing. I understand that magic.mgc is a compiled version of magic file which has magic number definitions for ...
1
vote
0answers
385 views

Ruby 2.0.0 RVM error installing on Ubuntu 13.10

Ruby 2.0.0 RVM error installing on Ubuntu 13.10: Error running 'requirements_debian_update_system ruby-2.0.0-p353', please read /home/sergey/.rvm/log/1385231754_ruby-2.0.0-p353/update_system.log ...
1
vote
0answers
97 views

How should I configure Jenkins for Ruby on Rails?

I am using Ubuntu 12.04 and I have installed Jenkins on my system. What additional software and plugins do I need for running Ruby on Rails jobs, and how should I configure them?
1
vote
0answers
113 views

Dotdeb alternatives for Ruby or Python?

I really like Dotdeb, but it doesn't include packages for Ruby and Python. While I could build my own repository, I wouldn't want to reinvent the wheel (and then be forced to drive). Are there any ...
1
vote
0answers
297 views

Slow Ruby 2.0 in 13.04

I had Ruby 2.0.0-p0 working with Ubuntu 12.10, in which a test suite of mine runs in about 3 minutes. The same test suite takes about 7 min to complete with Ruby 2.0.0-p0 in Ubuntu 13.04. I'm ...
1
vote
0answers
427 views

create_admin aborted! undefined method `source_index' for Gem:Module

trying to get gitorious running.. i got undefined method `source_index' for Gem:Module from env RAILS_ENV=production ruby1.8 script/create_admin when I run: env RAILS_ENV=production ...
1
vote
0answers
516 views

Multiple versions of ruby without RVM

I have been trying to understand RVM and decided to do so by not using it and seeing the consequences. I am trying to see how I can manage different versions of ruby and their gemsets without RVM. I ...
0
votes
0answers
13 views

can't resize images using paperclip on rails

so I am writing a rails app, I am using paperclip gem to upload images, here is my model class Recipe < ActiveRecord::Base has_attached_file :image, :styles => { :medium => "300x300>"} ...
0
votes
0answers
22 views

.ruby.bin consumes all my CPU at Boot

I have this problem that I need help with, when i start my PC, .ruby.bin takes up most if not all the resources....how do I stop it? I cant post any images from top output (reputation lack)
0
votes
0answers
24 views

psql autocomplete stopped working suddenly

So I have psql 9.3 installed on my Ubuntu machine. Today I updated my Ruby and Ruby on Rails versions up to date and after that when I wanted to access my database in psql, I typed in as usual: psql ...
0
votes
0answers
17 views

How to configure ufw to allow ruby gem installs on 12.04?

I have the following setup: To Action From -- ------ ---- 10022 ALLOW IN Anywhere 80 ALLOW IN ...
0
votes
0answers
23 views

Problems installing Betty in zsh

I tried to install Betty in zsh like that: cd ~ && git clone https://github.com/pickhardt/betty echo "alias betty=\"~/betty/main.rb\"" >> ~/.zshrc source ~/.zshrc I installed her in ...
0
votes
0answers
20 views

How to install vagrant if ruby is already installed in the system?

I had installed ruby via rbenv and installed the latest stable version from their repository. I have also configured ruby for all the users. Now, when I am trying to install vagrant via apt-get it ...
0
votes
0answers
94 views

Error installing rvm on Ubuntu 12.04

I'm taking a web applications development course on Coursera that requires me to install Ruby and Rails. I'm following the instructions at ...
0
votes
0answers
300 views

How to solve dependencies for sass,compass and susy on ubuntu 12.04

I use Ubuntu 12.04 and I am trying to install sass, compass and susy and make them work together but have a problem with dependencies over sass. I tried installing all of them with the --pre flag to ...
0
votes
0answers
35 views

Cannot find libglade2 for ruby

I'm using 12.04 and try to run ruby 1.8 code that calls libglade2 library. In the ruby code: require libglade2 But ruby says it cannot find it (LoadError). I searched for it but could not ...
0
votes
0answers
136 views

Supervisor + Ruby: Can't get supervisor to run my ruby script

I figure this is a simple issue. Permissions or something that I've overlooked and can't seem to find. However, I've just learned how to use supervisor. Long story short, I run Ubuntu 12.04 server ...
0
votes
0answers
29 views

Ubuntu + Screen: Auto-quit after a set time

I've tried searching for this and get lots of URLs leading to people having issues with their monitor. However my issue is with the screen utility. Background: Ubuntu 12.04 Ruby 2.1.1 I have a ruby ...
0
votes
0answers
45 views

Azure server hangs in live environment

I am a newbie on Ubuntu and have deployed my app on Azure Server large instance.My app is a website(Ruby on Rails) and there is considerable amount of traffic coming to the website. Now Today I got a ...
0
votes
0answers
32 views

The make comand will always say there is a error

I am currently trying to install dashing, but I have this problem that no matter what language make it using it returns error 1 and I can't get rid of it. I have successfully installed it on a laptop ...
0
votes
0answers
50 views

Ruby OpenSSL vs Linux openssl

I have a difficulty reconciling Ruby's OpenSSL library with the standard Linux command line openssl. What I'm trying to do here is encrypt the string mysecretstring with the password foobar but first ...
0
votes
0answers
106 views

How do I setup an IP to return host unreachable for testing on travis-ci.org?

I am adding tests to the ruby net-ping library and am trying to setup a test IP# that returns host unreachable icmp packets. I am using travis-ci.org and my local host for testing. On my local ...
0
votes
0answers
104 views

Ruby installation in Ubuntu Virtualbox vanishes after every reboot

I installed Ruby and Rails in Ubuntu(Guest OS) which is mounted on Windows (Host OS) using Virtual Box. But every time I reboot Guest OS, I need to re install Ruby on Rails.I have some experience with ...
0
votes
0answers
36 views

Is there a GUI Ruby managers for Ubuntu?

What is a good Ubuntu Ruby management software (like Jewelry Box) which has a GUI?
0
votes
0answers
109 views

Installing Ruby on rails on Ubuntu using VMware

rvm install 1.8.7 While i am trying to use above command error is occurred. ERROR : error running 'bunzip2'< 'usr/share/ruby-rvm/archives/ruby-1.8.7-p334.tar.bz2 | tar xf - -C ...
0
votes
0answers
172 views

Error installing rails 3.2.14

I get the following error while installing Rails 3.2.14: With sudo apt-get install rails apt 0.8.16~exp12ubuntu10.16 for amd64 compiled on Nov 15 2013 15:33:57 Supported modules: *Ver: Standard .deb ...
0
votes
0answers
41 views

How to install ruby backport on 12.04

The following commands do not work: apt-get install ruby1.9.3 installs 1.8.7 as specified by ruby --version apt-get install ruby/trusty is held back with: ruby : Depends: ruby1.9.1 (>= ...