datamapper / dm-is-remixable

dm-is-remixable allow you to create reusable data functionality
http://datamapper.org/
MIT License
13 stars 5 forks source link

uninitialized constant Extlib::Inflection #13

Closed 1xch closed 13 years ago

1xch commented 13 years ago

Upgrading a new application to 3.1/1.2.0.rc1

This only appears when using dm-is-remixable is installed

rake db:automigrate --trace 
rake aborted!
uninitialized constant Extlib::Inflection
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.9.2/lib/rake/ext/module.rb:36:in `const_missing'
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/dm-is-remixable-0.10.0/lib/dm-is-remixable/is/remixable.rb:10:in `<top (required)>'
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/dm-is-remixable-0.10.0/lib/dm-is-remixable.rb:1:in `require'
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/dm-is-remixable-0.10.0/lib/dm-is-remixable.rb:1:in `<top (required)>'
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.18/lib/bundler/runtime.rb:68:in `require'
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.18/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.18/lib/bundler/runtime.rb:66:in `each'
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.18/lib/bundler/runtime.rb:66:in `block in require'
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.18/lib/bundler/runtime.rb:55:in `each'
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.18/lib/bundler/runtime.rb:55:in `require'
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/bundler-1.0.18/lib/bundler.rb:120:in `require'
/media/essential/projects/1_current/thrisp/modules/+velicessegia/ticketenginealpha/config/application.rb:13:in `<top (required)>'
/home/qx/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/home/qx/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
/media/essential/projects/1_current/thrisp/modules/+velicessegia/ticketenginealpha/Rakefile:5:in `<top (required)>'
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.9.2/lib/rake/rake_module.rb:25:in `load'
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.9.2/lib/rake/rake_module.rb:25:in `load_rakefile'
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.9.2/lib/rake/application.rb:495:in `raw_load_rakefile'
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.9.2/lib/rake/application.rb:78:in `block in load_rakefile'
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.9.2/lib/rake/application.rb:77:in `load_rakefile'
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.9.2/lib/rake/application.rb:61:in `block in run'
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.9.2/lib/rake/application.rb:59:in `run'
/home/qx/.rvm/gems/ruby-1.9.2-p180/gems/rake-0.9.2/bin/rake:32:in `<top (required)>'
/home/qx/.rvm/gems/ruby-1.9.2-p180/bin/rake:19:in `load'
/home/qx/.rvm/gems/ruby-1.9.2-p180/bin/rake:19:in `<main>'
1xch commented 13 years ago

eh, adding DM_VERSION to the gemfile specification for the gem seems to resolve.