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

learn more… | top users | synonyms

1
vote
2answers
7k views

install libmysqlclient-dev 5.6

I can't use the mysql ruby gem because I get this error: Incorrect MySQL client library version! This gem was compiled for 5.6.15 but the client library is 5.5.34. (RuntimeError) apt-get is ...
0
votes
1answer
410 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
2answers
273 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 ...
1
vote
1answer
182 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 ...
2
votes
2answers
851 views

Unable to Install Guard

I've seen Guard and it's usefulness in web development and would like to install it. Naturally, I expected to be able to use sudo gem install guard to do so (yes, it is a Ruby Gem). However the ...
0
votes
2answers
482 views

why there is difference between psql -version output and the psql version connected to my application? how can I resolve this

I am building up a rails application that I cloned from my friend. I am using Ubuntu 13.10, rails 3.2.14. I am using a postgresql database and when I try to run rake db:migrate it gives me some error ...
5
votes
1answer
5k views

How to install ruby?

I am pretty new to ruby world and I don't know about installing it. Viewing methods from blogs with google search but feeling confuse. Could somebody help me to setup ruby in my Ubuntu 13.10?
6
votes
2answers
172 views

Is it possible to update the app indicator from code?

I use ruby-libappindicator bindings to manage ubuntu application indicators. I want to indicate if port 3000 is used by any application. Port checking isn't a problem but I also need to update the ...
0
votes
1answer
1k 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
3answers
463 views

Why has Ubuntu 13.10 more recent packages than 13.04?

I don't understand how some packages are managed in Ubuntu. How are they moved from unstable to testing? The Debian FAQ says: Unstable has the most recent (latest) versions. But the packages ...
1
vote
1answer
3k views

VPS apache config - Invalid command 'PassengerDefaultRuby' after adding latest passenger gem

used to have this list of rubies in my vps: ruby-1.9.2-p320 [ i686 ] =* ruby-1.9.3-p194 [ i686 ] ruby-1.9.3-p374 [ i686 ] ruby-1.9.3-p392 [ i686 ] today I installed a new app on this vps ...
3
votes
1answer
3k views

Can't install rvm

I want to install RVM: ubuntu@ext:~$ rvm The program 'rvm' is currently not installed. You can install it by typing: sudo apt-get install ruby-rvm ubuntu@ext:~$ sudo apt-get install ruby-rvm Reading ...
1
vote
3answers
3k views

How do you login into /bin/bash automatically?

Im on 12.04 LTS and am doing to Ruby on Rails development. When I start up my terminal and type in ruby -v it will list my Ruby as 1.8.7. When I type in /bin/bash --login then ruby -v will list it as ...
1
vote
1answer
163 views

What version of Ruby am I really running?

Im running Ubuntu 12.04 lts and have installed Ruby via RVM. Problem is when I just type ruby -v into the terminal it says that my Ruby Version is 1.8.7 and using the shotgun gem for Sinatra it ...
2
votes
0answers
125 views

Installing Ruby [duplicate]

I found a tutorial in this site showing how to install Ruby. The problem is I found the terminal is asking to install packages that are already installed Reading package lists... Installing ...
0
votes
1answer
225 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 ...
-1
votes
1answer
56 views

“No XS-Ruby-Versions” error message when building Ruby package

I am trying to build a Ruby package using git-buildpackage. I am getting this error near the end of the process: dh clean --buildsystem=ruby --with ruby dh_testdir -O--buildsystem=ruby ...
16
votes
2answers
27k views

How to find and install latest Ruby version using RVM?

I finally got RVM working and now I would like RVM to install the latest stable ruby version. In the tutorial I am using they installed ruby 1.9.3 with command : rvm install 1.9.3 Now I want to ...
-1
votes
1answer
481 views

I have a problem to install metasploit on ubuntu 12.04

I have installed metasploit on my ubuntu 12.04 but the problem when i write aboziad@aboziad:~$ msfconsole Could not find rake-10.0.4 in any of the sources Run `bundle install` to install missing ...
1
vote
2answers
107 views

Will a Ruby installation installed by a package manager conflict with one installed with RVM?

I installed the Heroku Toolbelt the other day, and it looks like Ruby was a requirement, so the package manager installed it for me. But I was planning to install Ruby through RVM. Will the two Rubys ...
1
vote
1answer
561 views

Upstart - Bluepill not starting without sudo

I have an upstart service to start bluepill (Ruby gem to monitor processes). The upstart config is below. description "Start up the bluepill service" start on runlevel [2] stop on runlevel [016] ...
1
vote
1answer
440 views

Issue With Upstart And RVM Gem?

Im trying to get a RVM gem to run via upstart... I can't seem to get it to work: siriserver.conf #siriserver start on filesystem or runlevel [2345] stop on runlevel [!2345] respawn exec ...
5
votes
3answers
3k views

Upstart tracking wrong PID of process - not respawning

I originally asked this question on StackOverflow. Then realised that this is probably a better place. I have bluepill setup to monitor my delayed_job processes. (Ruby On Rails application) Using ...
0
votes
0answers
19 views

Post-retirement plans for Ruby package in Precise 12.04LTS? [duplicate]

Now that Ruby 1.8.7 is officially retired, is it at all possible that the default ruby package in precise might be updated all the way up to 2.0? I understand that backporting is generally not done ...
1
vote
0answers
130 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
1answer
2k views

Installing Ruby On Rails stack on Ubuntu? [duplicate]

I'm looking to install ruby on rails on Ubuntu similarly to how its described in the RailsIntaller.org for MAC/Windows. Instructions and guides that I've seen to do this on Ubuntu seem to be all over ...
25
votes
1answer
10k views

How to install jekyll?

According to the jekyll site, this is how you make a new website with jekyll: ~ $ gem install jekyll ~ $ jekyll new myblog ~ $ cd myblog ~/myblog $ jekyll serve gem install jekyll didn't work, nor ...
0
votes
3answers
4k views

How to open a Ruby file in terminal?

I have a ruby file saved on my desktop as test.rb. How can I open it with terminal? I have already tried to use /home/desktop/test.rb and what I get in response is bash: /home/desktop/test.rb: No ...
0
votes
2answers
2k views

Installing Rails on Ubuntu 13.04

I tried installing rails according to this guide, and when I do, I get this error: $ sudo gem install rails WARNING: Error fetching data: Errno::ENOENT: No such file or directory - getaddrinfo ...
0
votes
1answer
198 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
2k views

Something is closing port 443?

I have Ubuntu 12.04 Server installed and serving a Ruby on Rails app with Apache and Passenger. I'm using iptables to control traffic. Yesterday, I setup Apache to use SSL for the site. After setting ...
0
votes
1answer
186 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 ...
3
votes
3answers
871 views

How to install Ruby Ripper, or another app that does MP3s through a GUI

I have tried to install ruby ripper various times (raring) using code pasted from the internet. everytime i get to sudo apt-get install rubyripper, i get this back: E: Unable to locate package ...
0
votes
1answer
2k views

trouble updating “sudo apt-get update” [duplicate]

I've been trying to install ruby on rails and it requires me to run this command. I am new to Linux so I'm not very familiar with everything but this is what comes out after I type "sudo apt-get ...
2
votes
2answers
281 views

How can I install Vagrant on 12.04 if ruby-json is already installed?

I tried to install the software , which are in software center and new software like virtual box, but it is showing the error: Items cannot be installed or removed until the package catalog is ...
0
votes
1answer
161 views

Gmate Install Fail

I'm looking to install gmate to allow use of gedit for Ruby development. Currently I'm running Ubuntu 13.04 x64. I can add the required repository but when I "apt-get update" the following error is ...
0
votes
2answers
969 views

Gmate installation issue

I was following the link GMate and Using Gedit as a Ruby IDE to make my Gedit as IDE. But when all the command was running good,the below one throwing me an error. kirti@kirti-Aspire-5733Z:~$ sudo ...
2
votes
1answer
2k views

error Can't find the 'libpq-fe.h header

Trying to set up postgres for rails. bundle install gives: Can't find the 'libpq-fe.h header
6
votes
1answer
2k views

Installation of capybara-webkit ruby gem

I have following errors when I try to install capybara-webkit ruby gem Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. ...
1
vote
1answer
4k views

Couldn't find any package by regex - ruby

I need to install ruby1.9.3-dev sudo apt-get install ruby1.9.3-dev Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package ...
0
votes
2answers
1k views

ubuntu: facing problem in installing compass

I want to compile a sass file but whenever i run this command $ compass compile it gives me this error compass: command not found and i tried to install compass by this command $sudo gem install sass ...
0
votes
1answer
135 views

How to prevent installation of Ruby Version Manager on 12.04 Server from failing? (works on Desktop)

Here is some weird error I'm experiencing trying to install Ruby version manager on a server running Ubuntu 12.04: the problem is that when I make some test on my pc, which is Running 12.04 "regular ...
0
votes
1answer
484 views

Is swap enabled on this server? should it be?

We have a sysadmin configure a couple of servers at digitalocean. To me, it looks like swap wasn't enabled on this but it's been a VERY long time since I've had to do things like this. It's a rails ...
0
votes
1answer
524 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 ...
0
votes
1answer
1k views

I downloaded ruby on rails, but it says it isn't installed.

I downloaded ruby on rails on ubuntu 12.10 through this tutorial http://technical-feeds.blogspot.ca/2013/02/how-to-install-ubuntu-and-ruby-on-rails.html. I did everything and it worked fine. I ...
2
votes
2answers
359 views

pdfbeads will only output a single page

Following the instructions from this page I take a djvu document, check it for any sign of corruption by opening it in djvulibre and it checks out fine. Copy it to my testing folder and rename it ...
0
votes
1answer
423 views

error: alternative gem can't be master: it is a slave of ruby

I am struggling to get ruby up and running, and i get this message in many installations update-alternatives: error: alternative gem can't be master: it is a slave of ruby The full message: ...
0
votes
1answer
2k views

How can I install ruby 1.8.7?

I am not ruby guy, but I have good experience with apache and php, but I find it really difficult to setup ruby 1.8.7, cause I find a lot of ways to do the same and I am pretty much confused. I want ...
0
votes
2answers
594 views

Fix bash_profile to Develop Ruby on Rails Apps

I just installed Ruby and Rails stuff on my machine, and start to learn. But every time I close the Terminal and re-open it, I have to re-type the command . ~/.bash_profile in order to run Rails ...
2
votes
2answers
3k views

Why am I getting a “install rails” prompt when it already is installed?

I'm inside of the terminal right now and just about to make a new application. I'm inside of the app folder, did rails new --help and pops up: The program 'rails' can be found in the following ...