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

carrierwave is broken #91

Open
wikimatze opened this issue May 1, 2016 · 0 comments
Open

carrierwave is broken #91

wikimatze opened this issue May 1, 2016 · 0 comments

Comments

@wikimatze
Copy link
Member

I've encountered this error with ruby-2.2.1 and padrino 0.13.1

$ padrino-gen plugin carrierwave
No local changes to save
WARN: Unresolved specs during Gem::Specification.reset:
      activesupport (>= 3.1)
      tilt (< 3, >= 1.3)
      mustermann19 (>= 0)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
       apply  https://raw.github.com/padrino/padrino-recipes/master/plugins/carrierwave_plugin.rb
      create    lib/uploader.rb
  => Executing: padrino-gen model upload file:text created_at:datetime -r=/tmp/sample_blog_updated
=> Problem loading /tmp/sample_blog_updated/config/boot.rb
=> uninitialized constant CarrierWave
  /tmp/sample_blog_updated/lib/uploader.rb:1:in `<top (required)>'
  /home/wm/.rvm/gems/ruby-2.2.1/gems/padrino-core-0.13.1/lib/padrino-core/reloader.rb:95:in `block in safe_load'
  /home/wm/.rvm/gems/ruby-2.2.1/gems/padrino-core-0.13.1/lib/padrino-core/reloader.rb:308:in `with_silence'
  /home/wm/.rvm/gems/ruby-2.2.1/gems/padrino-core-0.13.1/lib/padrino-core/reloader.rb:95:in `safe_load'
  /home/wm/.rvm/gems/ruby-2.2.1/gems/padrino-core-0.13.1/lib/padrino-core/loader.rb:154:in `block in require_dependencies'
  /home/wm/.rvm/gems/ruby-2.2.1/gems/padrino-core-0.13.1/lib/padrino-core/loader.rb:152:in `each'
  /home/wm/.rvm/gems/ruby-2.2.1/gems/padrino-core-0.13.1/lib/padrino-core/loader.rb:152:in `require_dependencies'
  /home/wm/.rvm/gems/ruby-2.2.1/gems/padrino-core-0.13.1/lib/padrino-core/loader.rb:58:in `load!'
  /tmp/sample_blog_updated/config/boot.rb:50:in `<top (required)>'
  /home/wm/.rvm/gems/ruby-2.2.1/gems/padrino-gen-0.13.1/lib/padrino-gen/generators/cli.rb:26:in `require'
  /home/wm/.rvm/gems/ruby-2.2.1/gems/padrino-gen-0.13.1/lib/padrino-gen/generators/cli.rb:26:in `load_boot'
  /home/wm/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
  /home/wm/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
  /home/wm/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `block in invoke_all'
  /home/wm/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `each'
  /home/wm/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `map'
  /home/wm/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `invoke_all'
  /home/wm/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/group.rb:232:in `dispatch'
  /home/wm/.rvm/gems/ruby-2.2.1/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
  /home/wm/.rvm/gems/ruby-2.2.1/gems/padrino-gen-0.13.1/bin/padrino-gen:16:in `<main>'
       apply  orms/activerecord
       apply  tests/rspec
      create  models/upload.rb
      create  spec/models/upload_spec.rb
      create  db/migrate/004_create_uploads.rb
     prepend    models/upload.rb
      insert    Gemfile
      insert    models/upload.rb
wikimatze added a commit to wikimatze/padrino-recipes that referenced this issue Jul 10, 2016
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