If there's an earlier version of active record in system gems, it seems that this gets required by reportable, causing this error:
sudara@ramen:/data/app/current$ bundle exec rails c
No compatible versions could be found for required dependencies:
Conflict on: "activerecord":
* activerecord (2.3.4) activated by reportable (>= 0, runtime)
* activerecord (= 3.0.0.beta4, runtime) required by rails (>= 0, runtime)
All possible versions of origin requirements conflict.
My temporary solution is to require the libs explicitly for rails:
gem 'activerecord', '3.0.0.beta4', :require => 'active_record'
gem 'activesupport', '3.0.0.beta4', :require => 'active_support'
gem 'actionpack', '3.0.0.beta4', :require => 'action_pack'
This is an issue with bundler 0.9.x and rails 3 beta4 - but strangely, only in production. Still need to test with bundler 1.0.x - perhaps it's a bundle issue that's been fixed.
Still, if rails is being required by reportable's Gemfile, is there a reason the other libs have to be required here too?
Thanks for the cool gem :) I built a barchart helper for raphaël, let me know if you guys would be interested in it.
If there's an earlier version of active record in system gems, it seems that this gets required by reportable, causing this error:
My temporary solution is to require the libs explicitly for rails:
This is an issue with bundler 0.9.x and rails 3 beta4 - but strangely, only in production. Still need to test with bundler 1.0.x - perhaps it's a bundle issue that's been fixed.
Still, if rails is being required by reportable's Gemfile, is there a reason the other libs have to be required here too?
Thanks for the cool gem :) I built a barchart helper for raphaël, let me know if you guys would be interested in it.