mongoid / mongoid-grid_fs

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

mongoid 4.0 support #38

Closed kwando closed 10 years ago

kwando commented 10 years ago

Support for mongoid 4.0 (yes I know it is still in beta).

Bundler could not find compatible versions for gem "mongoid":
  In Gemfile:
    mongoid-grid_fs (~> 1.3) ruby depends on
      mongoid (~> 3.0.1) ruby

    mongoid (4.0.0.beta1)
rmm5t commented 10 years ago

Are you pointing at the master branch?

Try this in your Gemfile:

gem "mongoid-grid_fs", github: "ahoward/mongoid-grid_fs"
kwando commented 10 years ago

@rmm5t Oh yes, I saw that right after posting the issue. That works fine on MRI. I get some weird issues on jruby though. I noticed the mongoid-grid_fs gem in the stacktrace, not really sure where the problem is. https://github.com/jruby/jruby/issues/1538

rmm5t commented 10 years ago

Interesting. If you learn more, please post that info here. I'm not sure how much support we have with jruby, and I don't work directly with it, but I'm sure it will help others.

kwando commented 10 years ago

I will post here if I find anything useful.

rmm5t commented 10 years ago

Since you were able to resolve the originally reported mongoid 4 dependency issue, I'm closing this out in favor of #35.