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
86 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
464 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
329 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 ...
2
votes
2answers
1k 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 ...
1
vote
0answers
95 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?
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
98 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 ...
22
votes
1answer
7k 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
2k 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
157 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
1k 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
141 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
545 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 ...
1
vote
0answers
285 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 ...
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
234 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
150 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
815 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
1k 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
1k 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. ...
0
votes
1answer
3k 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
758 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
131 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
391 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
437 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
839 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
1answer
251 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
350 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: ...
1
vote
0answers
379 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 ...
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
467 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
2k 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 ...
6
votes
3answers
9k views

Install Ruby 2.0 with OpenSSL and ReadLine support

I have a fresh Ubuntu 12.04 VM, and I would like to install Ruby 2.0.0-p0. I am able to get Ruby installed easily enough, but I am unable to get gems to work. $ gem install bundler ERROR: Loading ...
11
votes
5answers
12k views

Package for Ruby 2.0 on precise

Has there been any news from the maintainers of Ubuntu packaging of Ruby as to whether they'll be releasing a package for Ruby 2.0? If so, have they indicated whether they'll be releasing any packages ...
0
votes
1answer
193 views

How to automate installing ruby and setting it as the global system version?

Installing ruby is easy enough using apt-get install ruby1.9.1. But how can I set it as the default/system/global ruby in a automated fashion?
1
vote
5answers
4k views

I can not remove Ruby1.9.3p0 from ubuntu. What is the process?

I have installed ruby 1.9.3p0 and on executing the command ruby -v it shows the version 1.9.3p0 installed. When i try to remove it by command sudo apt-get remove ruby1.9.3p0 it says package not found ...
2
votes
1answer
48 views

Ruby select! method missing after latest update

When I tried to run some code after yesterday's update to Ruby 1.9, I got this error: undefined method `select!' for ["58720262"]:Array (NoMethodError) I got the same error when I tried it in irb. ...
0
votes
2answers
2k views

Determine which version of a gem is installed?

Is there a way via CLI to determine which version number of a gem is installed on my machine? Similar to yolk -l for python? I'm trying to see if I have the latest version of compass / sass / zurb ...
3
votes
1answer
1k views

Installing Jekyll with gem

Im using Ubunto 12.04 I am trying to install Jekyll through gem with sudo gem install jekyll but i get this error at some point of the installation: ERROR: While generating documentation for ...
0
votes
1answer
8k views

How to upgrade ruby software to Ruby 1.9.3-p385 using sudo?

I had installed it using sudo apt-get install ruby1.9.3. I am using ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]in my laptop. Now I want to upgrade it more latest version Ruby ...
1
vote
1answer
5k views

Ruby IDE in Ubuntu [duplicate]

Could you people help me by saying a good Ruby compatible IDE in Ubuntu and its installation and settings with Ruby environment? I really need that one. I don't want Rails version,only Ruby 1.9.3. I ...
6
votes
2answers
488 views

How to 'cd' to a directory found with 'find'?

I have a file in gmai.rb in the below directory: root@ubuntu:~# find / -name gmail.rb|more /media/aruprakshit/FA686DE4686DA05D/Rubyscript/gmail.rb But when i am trying to reach to the Rubyscript ...
0
votes
1answer
3k views

gem install error: “cannot load such file — zlib”

I'm trying to install ruby on rails from scratch on Ubuntu 12.10. Getting help from this post: echo "[[ -s '${HOME}/.rvm/scripts/rvm' ]] && source '${HOME}/.rvm/scripts/rvm'" >> ...
1
vote
0answers
461 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
2answers
437 views

using and installing rubyonrails

i need help here. i am new to programming and interested in learning rubyonrails. i installed the above mentioned software on ubuntu 12.10 using i found on ubuntu community page. after installation, i ...
0
votes
1answer
1k views

Ubuntu root .bashrc file

I was installing rvm and for some reasons i changed first line on root's .bashrc what was there? i inserter if [[ -n "$PS1" ]]; then and see that i'm root, can't undo... What string is first like ...
3
votes
0answers
1k 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 ...
0
votes
1answer
585 views

Why can't I install libnotify in Ubuntu 12.10?

my env: play@ubuntu:~$ gem env RubyGems Environment: - RUBYGEMS VERSION: 1.8.24 - RUBY VERSION: 1.9.3 (2012-11-10 patchlevel 327) [x86_64-linux] - INSTALLATION DIRECTORY: ...