Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes when installing gems, `apply': uninitialized constant Rails::Generators::AppGenerator::RVM (NameError) #206

Open
lukeburford opened this issue Nov 21, 2014 · 1 comment

Comments

@lukeburford
Copy link

I'm on ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-darwin13.0], rvm 1.25.15 (stable)

Starting the rails-devise tutorial using the specified options, selecting yes for project-specific rum gems creates this error:

option Use or create a project-specific rvm gemset? (y/n) y
extras recipe creating project-specific rvm gemset and .rvmrc
extras creating RVM gemset 'rails-devise'
https://raw.github.com/RailsApps/rails-composer/master/composer.rb:2227:in apply': uninitialized constant Rails::Generators::AppGenerator::RVM (NameError) from /Users/luke/.rvm/gems/ruby-2.1.0/gems/thor-0.19.1/lib/thor/actions.rb:223:ininstance_eval'
from /Users/luke/.rvm/gems/ruby-2.1.0/gems/thor-0.19.1/lib/thor/actions.rb:223:in apply' from /Users/luke/.rvm/gems/ruby-2.1.0/gems/railties-4.2.0.beta4/lib/rails/generators/app_base.rb:143:inapply_rails_template'
from (eval):1:in apply_rails_template' from /Users/luke/.rvm/gems/ruby-2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:inrun'
from /Users/luke/.rvm/gems/ruby-2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in invoke_command' from /Users/luke/.rvm/gems/ruby-2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:inblock in invoke_all'
from /Users/luke/.rvm/gems/ruby-2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in each' from /Users/luke/.rvm/gems/ruby-2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:inmap'
from /Users/luke/.rvm/gems/ruby-2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:133:in invoke_all' from /Users/luke/.rvm/gems/ruby-2.1.0/gems/thor-0.19.1/lib/thor/group.rb:232:indispatch'
from /Users/luke/.rvm/gems/ruby-2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in start' from /Users/luke/.rvm/gems/ruby-2.1.0/gems/railties-4.2.0.beta4/lib/rails/commands/application.rb:17:in<top (required)>'
from /Users/luke/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in require' from /Users/luke/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:inrequire'
from /Users/luke/.rvm/gems/ruby-2.1.0/gems/railties-4.2.0.beta4/lib/rails/cli.rb:14:in <top (required)>' from /Users/luke/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:inrequire'
from /Users/luke/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:73:in require' from /Users/luke/.rvm/gems/ruby-2.1.0/gems/rails-3.1.3/bin/rails:7:in<top (required)>'
from /Users/luke/.rvm/gems/ruby-2.1.0/bin/rails:23:in load' from /Users/luke/.rvm/gems/ruby-2.1.0/bin/rails:23:in

'

Any ideas?

@Schwad
Copy link

Schwad commented Sep 7, 2018

Howdy @lukeburford ! Hope all is well! Is this an issue you are still facing today?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants