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

Rails3 generators crash #79

Closed
caseyprovost opened this issue May 26, 2011 · 5 comments · Fixed by #99
Closed

Rails3 generators crash #79

caseyprovost opened this issue May 26, 2011 · 5 comments · Fixed by #99

Comments

@caseyprovost
Copy link

I have installed the couchrest_model gem and now my generators are failing, just typing "rails g" fails.

I tried the following but it did not help:

application.rb

config.generators do |g|
g.orm :active_record
g.template_engine :erb
g.test_framework :rspec, :fixture => false
end

@kostia
Copy link
Contributor

kostia commented Jun 8, 2011

I couldn't verify it in my projects (based on master).

Could you please post the backtrace?

@crx
Copy link
Contributor

crx commented Jun 12, 2011

This is a Rails 3.1 issue, where config.generators is deprecated in favor of config.app_generators. A fix for it is included in pull request #76.

@samlown
Copy link
Member

samlown commented Jun 24, 2011

I'd rather have a pull request with just this specific issue fixed, #76 covers far too many different things.

@crx
Copy link
Contributor

crx commented Jun 25, 2011

I have this as a standalone patch on my fork. I just created a new pull request, #99.

@samlown
Copy link
Member

samlown commented Jun 25, 2011

Sweet, thanks crx, I'll release this ASAP

@samlown samlown closed this as completed Jun 25, 2011
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

Successfully merging a pull request may close this issue.

4 participants