mongoid / mongoid-grid_fs

A pure Mongoid/Moped implementation of the MongoDB GridFS specification.
Other
83 stars 51 forks source link

Dependency issue with rails 3.2.17 & mongoid-grid_fs-1.9.2 #39

Closed fwoeck closed 10 years ago

fwoeck commented 10 years ago

With rails 3.2.17, carrierwave-mongoid 0.6.3, I see this:

Bundler could not find compatible versions for gem "mime-types":
  In Gemfile:
    rails (= 3.2.17) ruby depends on
      mime-types (~> 1.16) ruby

    carrierwave-mongoid (~> 0.6) ruby depends on
      mime-types (2.1)

when I try to upgrade from 1.9.0 to 1.9.2

ahoward commented 10 years ago

hrm, here is what i have planned for 2.0.0

https://github.com/ahoward/mongoid-grid_fs/blob/non-unique/mongoid-grid_fs.gemspec#L43

and in master

https://github.com/ahoward/mongoid-grid_fs/blob/master/mongoid-grid_fs.gemspec#L41

i don't think it's possible to be more lax than this without being outright dangerous?

suggestion?

/cc @rmm5t

ahoward commented 10 years ago

sorry, hadn't had enough coffee

will this fix you?

https://github.com/ahoward/mongoid-grid_fs/blob/master/mongoid-grid_fs.gemspec#L41

fwoeck commented 10 years ago

Yup, the issue is fixed in current master - thanks a lot!