Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

gemspec disallows ActiveRecord v3.1.0 #29

Open
prezently opened this issue Oct 9, 2011 · 2 comments
Open

gemspec disallows ActiveRecord v3.1.0 #29

prezently opened this issue Oct 9, 2011 · 2 comments

Comments

@prezently
Copy link

The docs say that spatial_adapter supports ActiveRecord v2.2 and higher, but the spatial_adapter.gemspec also prohibits 3.1.0 and higher ('activerecord', '>= 2.2.2', '< 3.1.0'). I'll clone and modify the version to see if anything breaks under 3.1. Just wanted to first ask if this might be as simple as updating the gemspec or if there's known issues with the spatial_adapter and AR 3.1.0?

Thanks,
Andrew

@wrkrb33
Copy link

wrkrb33 commented Oct 27, 2011

@prezently, what have you found? Is it working alright for you under 3.1.x?

@mprk
Copy link

mprk commented Oct 31, 2011

Under rails 3.1.1, it will only install spatial_adapter 1.2.0.

I tried to force it to install 1.3.1, using the following gemfile settings:

gem 'rails', '3.1.1'
gem 'spatial_adapter','1.3.1'

I got the following error while running bundle install:

Fetching source index for http://rubygems.org/
Bundler could not find compatible versions for gem "activerecord":
In snapshot (Gemfile.lock):
activerecord (3.1.1)

In Gemfile:
spatial_adapter (= 1.3.1) x86-mingw32 depends on
activerecord (< 3.1.0, >= 2.2.2) x86-mingw32

Running bundle update will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants