-
Notifications
You must be signed in to change notification settings - Fork 301
Open
Description
I have not yet been able to get the .rvmrc and project-specific gemset from the extras to work. It seems like it's working, but when it gets to the part of the app generation that creates the gemset and switches to it, when I run
rails new my_app -m template.rb
(where template.rb was created with rails_apps_composer), I see this:
[clipped]
extras recipe creating project-specific rvm gemset and .rvmrc
extras creating RVM gemset 'my_app'
extras switching to gemset 'my_app'
run rvm gemset list from "."
gemsets for ruby-1.9.3-p194 (found in /Users/me/.rvm/gems/ruby-1.9.3-p194)
global
mongoid
my_app
=> rails-generate
remove .rvmrc
create .rvmrc
gsub .rvmrc
composer Installing gems. This will take a while.
run bundle install --without production from "."
[/clipped]
Notice when the generator runs rvm gemset list, it shows that it's still using the rails-generate gemset, which is the current gemset, not the app's new project-specific gemset. Sure enough when it's done running, I find that all the gems are installed in my current gemset and the project's gemset is empty and doesn't even contain rails.
Metadata
Metadata
Assignees
Labels
No labels