I am using Capistrano to deploy to a Ubuntu 11.10 host using rvm and ruby 1.9.2-p290. This appears to be working fine.
Passenger / nginx is set up correctly and it is serving up rails pages fine. The issue is that I have gems now in a couple of places.
Gem environment gives me:
GEM PATHS: "/usr/local/rvm/gems/ruby-1.9.2-p290:/usr/local/rvm/gems/ruby-1.9.2-p290@global
but rails is installed in $appname/shared/bundle/ruby/1.9.1/gems . I’d like to run rails c but can’t. How would I fix this?
edit #1
This is hosted at Linode
I was originally running:
but, was getting permission issues, so you must provide the env:
or better yet: