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

Dependencies moved to ActiveSupport::Dependencies - causes installation of smerf to abort #6

Open
sschroeder opened this issue Jan 13, 2010 · 1 comment

Comments

@sschroeder
Copy link

I am using Rails 2.3.5

When I run db:migrate as part of the smerf installation steps, rake aborts with the error

undefined constant - Rails::Plugins::Dependencies

The fix is to change vendor/plugins/smerf/init.rb and vendor/plugins/smerf/generators/smerf/templates/smerf_init.rb so that Dependencies is written as ActiveSupport::Dependencies

The change is to where Dependencies is found is documented at http://whatdoesthiserrormean.com/errors/2540

@springbok
Copy link
Owner

I've not got Rails 2.3.5 installed so I can't test this but I've had a look at the init.rb and it does use ActiveSupport::Dependencies on the line "ActiveSupport::Dependencies.load_paths << file_path"

Is this the line where it fails or does it fail somewhere else?

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