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

generator with rails 3.2.8 dont work #59

Open
s9gf4ult opened this issue Nov 1, 2012 · 0 comments
Open

generator with rails 3.2.8 dont work #59

s9gf4ult opened this issue Nov 1, 2012 · 0 comments

Comments

@s9gf4ult
Copy link

s9gf4ult commented Nov 1, 2012

piece of gemfile

gem 'rails', '3.2.8'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'sqlite3'

group :test, :development do
  gem "rspec-rails", "~> 2.0"
end

gem 'devise'
gem 'rails-breadcrumbs'
gem 'enumerated_attribute'

and when i am trying generate with generator any scaffold i get an error

rails g scaffold Question section_id:integer question:string
/home/razor/.gem/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require': cannot load such file -- rails_generator (LoadError)
        from /home/razor/.gem/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `block in require'
        from /home/razor/.gem/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in `load_dependency'
        from /home/razor/.gem/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
        from /home/razor/.gem/ruby/1.9.1/gems/enumerated_attribute-0.2.16/lib/enumerated_attribute/rails_helpers.rb:26:in `<top (required)>'
        from /home/razor/.gem/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
        from /home/razor/.gem/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `block in require'
        from /home/razor/.gem/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in `load_dependency'
        from /home/razor/.gem/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
        from /home/razor/.gem/ruby/1.9.1/gems/enumerated_attribute-0.2.16/lib/enumerated_attribute/attribute.rb:7:in `<top (required)>'
        from /home/razor/.gem/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
        from /home/razor/.gem/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `block in require'
        from /home/razor/.gem/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in `load_dependency'
        from /home/razor/.gem/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
        from /home/razor/.gem/ruby/1.9.1/gems/enumerated_attribute-0.2.16/lib/enumerated_attribute.rb:3:in `<top (required)>'
        from /home/razor/.gem/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:68:in `require'
        from /home/razor/.gem/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
        from /home/razor/.gem/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:66:in `each'
        from /home/razor/.gem/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:66:in `block in require'
        from /home/razor/.gem/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:55:in `each'
        from /home/razor/.gem/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:55:in `require'
        from /home/razor/.gem/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler.rb:128:in `require'
        from /home/razor/work/ruvote/config/application.rb:13:in `<top (required)>'
        from /home/razor/.gem/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:24:in `require'
        from /home/razor/.gem/ruby/1.9.1/gems/railties-3.2.8/lib/rails/commands.rb:24:in `<top (required)>'
        from script/rails:6:in `require'
        from script/rails:6:in `<main>'
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

1 participant