This project is archived and is in readonly mode.

#4321 ✓invalid
makevoid

3.0.0b2 rails generator - no such file: singleton_class

Reported by makevoid | April 3rd, 2010 @ 07:25 PM

> rails --help

or

> rails whatever
  _GEMS_/gems/railties-3.0.0.beta2/lib/rails/generators.rb:6:in `require': no such file to load -- active_support/core_ext/object/singleton_class (LoadError)
from _GEMS_/gems/railties-3.0.0.beta2/lib/rails/generators.rb:6:in `<top (required)>'
from _GEMS_/gems/railties-3.0.0.beta2/lib/rails/commands/application.rb:10:in `require'
from _GEMS_/gems/railties-3.0.0.beta2/lib/rails/commands/application.rb:10:in `<top (required)>'
from _GEMS_/gems/railties-3.0.0.beta2/bin/rails:30:in `require'
from _GEMS_/gems/railties-3.0.0.beta2/bin/rails:30:in `<top (required)>'
from _GEMS_/bin/rails:19:in `load'
from _GEMS_/bin/rails:19:in `<main>'

I noticed by looking at activesupport 3.0.0b2 that singleton_class has been removed, so commenting the require (line 6) in http://github.com/rails/rails/blob/v3.0.0.beta2/railties/lib/rails/... will resolve the issue, but I haven't checked if somewhere something's using the removed class.

See you

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages