Friday, 23 March 2012

Installing Rails 3.2 into Linux Mint (and other Linux distributions)

1) Install RVM:
  bash -s stable < <(curl -s   

2) Install or update RubyGems:
 gem update --system  

3) Install Rails:
 gem install rails  

That's it! Any problems, let me know below.


  1. thanks!!! that did it for me!

  2. Wonderfully simple. Now it works for my root user, but I have problems with non privileged users. Rails command returns this:

    (under linux mint 13)

    $ rails
    /usr/lib/ruby/1.8/rubygems.rb:779:in `report_activate_error': Could not find RubyGem railties (>= 0) (Gem::LoadError)
    from /usr/lib/ruby/1.8/rubygems.rb:214:in `activate'
    from /usr/lib/ruby/1.8/rubygems.rb:1082:in `gem'
    from /usr/share/ruby-rvm/gems/ruby-1.9.2-p320/bin/rails:18
    from /usr/share/ruby-rvm/gems/ruby-1.9.2-p320/bin/ruby_noexec_wrapper:14

    I've heard at least one other person with the same problem.

    Any help with that?


    1. I've not seen that specific error before, but did you install Rails using sudo gem install rails? If so, try again without using sudo, and see if that resolves your problem. There's also a StackOverflow answer here:
      which may help you out. Best of luck!


Please leave a comment if you find this blog helpful or interesting! I'd love to hear from you!