I have a new Rails project using ruby 2.0 which is defined in the Gemfile. On our bennett machine we have RVM installed with 1.9.3 (old projects) and also now 2.0.0 for new projects. But I think because bennett is running under 1.9.3 the shell commands it runs dont properly switch under RVM to the correct version. As a result, we get:
Your Ruby version is 1.9.3, but your Gemfile specified 2.0.0
for any build step we add (e.g. bundle exec .... or rake spec for example).
Any ideas on how we might get this to work?
I have a new Rails project using ruby 2.0 which is defined in the Gemfile. On our bennett machine we have RVM installed with 1.9.3 (old projects) and also now 2.0.0 for new projects. But I think because bennett is running under 1.9.3 the shell commands it runs dont properly switch under RVM to the correct version. As a result, we get:
for any build step we add (e.g. bundle exec .... or rake spec for example).
Any ideas on how we might get this to work?