ruby - Can't use Rails on Ubuntu -


i install rails on clear ubuntu 12.04 guide: http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you

all work well

then reboot system - rails not found

but placed in ~/.rvm/gems/ruby1.9.3-p448/bin/

i'm trying type: path="$path:~/.rvm/gems/ruby1.9.3-p448/bin/"

then have error: "/usr/bin/env: ruby_noexec_wrapper"

this file in ~/.rvm/gems/ruby1.9.3-p448/bin/

tell, in order should edit path start rails correct?

make sure in ~/.bashrc or ~/.bash_profile

## rvm if [[ -s "$home/.rvm/scripts/rvm" ]]  ; source "$home/.rvm/scripts/rvm" ; fi 

that source rvm script sets path you.


Comments