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

undefined method `name' for "actionmailer":String #5

Open
grubino opened this issue Jul 12, 2013 · 1 comment
Open

undefined method `name' for "actionmailer":String #5

grubino opened this issue Jul 12, 2013 · 1 comment

Comments

@grubino
Copy link

grubino commented Jul 12, 2013

I don't know ruby or rake or rails very well... I was hoping that I'd just set this up and it would work. Here's the full trace:

undefined method name' for "actionmailer":String /home/greg/code/oauth-dancer/vendor/rails/railties/lib/rails/gem_dependency.rb:268:in=='
/usr/lib/ruby/1.9.1/rubygems/dependency.rb:217:in ===' /usr/lib/ruby/1.9.1/rubygems/dependency.rb:217:inblock in matching_specs'
/usr/lib/ruby/1.9.1/rubygems/specification.rb:411:in block in each' /usr/lib/ruby/1.9.1/rubygems/specification.rb:410:ineach'
/usr/lib/ruby/1.9.1/rubygems/specification.rb:410:in each' /usr/lib/ruby/1.9.1/rubygems/dependency.rb:216:infind_all'
/usr/lib/ruby/1.9.1/rubygems/dependency.rb:216:in matching_specs' /usr/lib/ruby/1.9.1/rubygems/dependency.rb:238:into_specs'
/usr/lib/ruby/1.9.1/rubygems/dependency.rb:256:in to_spec' /usr/lib/ruby/1.9.1/rubygems.rb:1231:ingem'
/home/greg/code/oauth-dancer/vendor/rails/railties/lib/rails/gem_dependency.rb:73:in add_load_paths' /home/greg/code/oauth-dancer/vendor/rails/railties/lib/initializer.rb:301:inblock in add_gem_load_paths'
/home/greg/code/oauth-dancer/vendor/rails/railties/lib/initializer.rb:301:in each' /home/greg/code/oauth-dancer/vendor/rails/railties/lib/initializer.rb:301:inadd_gem_load_paths'
/home/greg/code/oauth-dancer/vendor/rails/railties/lib/initializer.rb:132:in process' /home/greg/code/oauth-dancer/vendor/rails/railties/lib/initializer.rb:113:inrun'
/home/greg/code/oauth-dancer/config/environment.rb:9:in <top (required)>' /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:inrequire'
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' /home/greg/code/oauth-dancer/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:inblock in require'
/home/greg/code/oauth-dancer/vendor/rails/activesupport/lib/active_support/dependencies.rb:521:in new_constants_in' /home/greg/code/oauth-dancer/vendor/rails/activesupport/lib/active_support/dependencies.rb:156:inrequire'
/home/greg/code/oauth-dancer/vendor/rails/railties/lib/tasks/misc.rake:4:in block in <top (required)>' /usr/lib/ruby/vendor_ruby/rake/task.rb:205:incall'
/usr/lib/ruby/vendor_ruby/rake/task.rb:205:in block in execute' /usr/lib/ruby/vendor_ruby/rake/task.rb:200:ineach'
/usr/lib/ruby/vendor_ruby/rake/task.rb:200:in execute' /usr/lib/ruby/vendor_ruby/rake/task.rb:158:inblock in invoke_with_call_chain'
/usr/lib/ruby/1.9.1/monitor.rb:211:in mon_synchronize' /usr/lib/ruby/vendor_ruby/rake/task.rb:151:ininvoke_with_call_chain'
/usr/lib/ruby/vendor_ruby/rake/task.rb:176:in block in invoke_prerequisites' /usr/lib/ruby/vendor_ruby/rake/task.rb:174:ineach'
/usr/lib/ruby/vendor_ruby/rake/task.rb:174:in invoke_prerequisites' /usr/lib/ruby/vendor_ruby/rake/task.rb:157:inblock in invoke_with_call_chain'
/usr/lib/ruby/1.9.1/monitor.rb:211:in mon_synchronize' /usr/lib/ruby/vendor_ruby/rake/task.rb:151:ininvoke_with_call_chain'
/usr/lib/ruby/vendor_ruby/rake/task.rb:144:in invoke' /usr/lib/ruby/vendor_ruby/rake/application.rb:116:ininvoke_task'
/usr/lib/ruby/vendor_ruby/rake/application.rb:94:in block (2 levels) in top_level' /usr/lib/ruby/vendor_ruby/rake/application.rb:94:ineach'
/usr/lib/ruby/vendor_ruby/rake/application.rb:94:in block in top_level' /usr/lib/ruby/vendor_ruby/rake/application.rb:133:instandard_exception_handling'
/usr/lib/ruby/vendor_ruby/rake/application.rb:88:in top_level' /usr/lib/ruby/vendor_ruby/rake/application.rb:66:inblock in run'
/usr/lib/ruby/vendor_ruby/rake/application.rb:133:in standard_exception_handling' /usr/lib/ruby/vendor_ruby/rake/application.rb:63:inrun'
/usr/bin/rake:27:in `

'
Tasks: TOP => db:migrate => environment

I hope you can help!

@wellington1993
Copy link

Try:

  gem install rubygems-update -v 1.3.5
  update_rubygems --version=1.3.5

http://stackoverflow.com/questions/11028804/undefined-method-name-for-actionmailerstring

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