1) Install RVM:
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
2) Install or update RubyGems:
gem update --system
3) Install Rails:
gem install rails
That's it! Any problems, let me know below.
thanks!!! that did it for me!
ReplyDeleteBrilliant, glad I can help!
DeleteWonderfully simple. Now it works for my root user, but I have problems with non privileged users. Rails command returns this:
ReplyDelete(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?
Thanks,
d
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:
Deletehttp://stackoverflow.com/questions/3518294/installing-rails-path-on-ubuntu-with-rvm
which may help you out. Best of luck!