[OSM-dev] rails_port composite_primary_keys issue
xin at zxv.ltd.uk
Fri Feb 22 21:05:29 GMT 2008
I am installing rails_port so I can crank out some tests awesomely fast at
I came across an issue with composite_primary_keys gem wanting ActiveRecord
Here's the full error message:
/usr/local/lib/site_ruby/1.8/rubygems.rb:246:in `activate': can't activate
activerecord (>= 2.0.2), already activated activerecord-2.0.1]
from /usr/local/lib/site_ruby/1.8/rubygems.rb:264:in `activate'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:263:in `each'
from /usr/local/lib/site_ruby/1.8/rubygems.rb:263:in `activate'
... 37 levels...
The problem is the latest composite_primary_keys( 0.9.91) wants ActiveRecord
2.0.2. rails_port uses Ruby on Rails 2.0.1 and therefore ActiveRecord 2.0.1.
I uninstalled the latest gem,
gem uninstall -v 0.9.91 composite_primary_keys
Install version before:
gem install -v 0.9.90 composite_primary_keys
I thought I would share!
Wiki has been updated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dev