This project is archived and is in readonly mode.
Bundler / RVM silently fail from application template
-
Aditya Sanghi
- State changed from new to invalid
- Importance changed from to Low
I would be inclined to mark this ticket invalid as this is not a problem with thor or rails but how rvm works. RVM changes environment settings which are not reflected within a running ruby process (such as the rails script or a even a thor script).
Having said that, RVM is indeed very popular and supporting RVM by thor might be a considered by thor's maintainers (i saw your ticket over on thor's issue list).
For what you want to achieve, i believe that the best solution would ideally come out of RVM itself, which could potentially provide a one command way to create a gemset in a particular ruby and install one or more gems in it. The use of rvm use which_ruby, followed by rvm gemset create app, followed by rvm use which_ruby@app, followed by gem install really depends on the shell changing with each execution.
We would be happy to re-open this ticket if indeed a problem is found in Rails, but i'm fairly positive it's not actually a Rails issue at all.
-
activestylus
Thanks for clearing that up Aditya, I will talk to Wayne Seguin about this and report back once there is some progress