thetron / mongoid-enum

Sweet enum sugar for your Mongoid documents
MIT License
117 stars 166 forks source link

Bundler could not find compatible versions for gem "mongoid": #54

Open farhanrahmadi opened 5 years ago

farhanrahmadi commented 5 years ago

i using mongoid 7 ruby 2.6.1 rails 5.2.2

when i run bundle on my gem i get these error

In snapshot (Gemfile.lock): mongoid (= 7.0.2)

In Gemfile:
   mongoid-enum was resolved to 0.1.1, which depends on
      mongoid (~> 3.1)

mongoid-paperclip was resolved to 0.0.11, which depends on
  mongoid

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

what shoul d i do