Trying to install ActiveAdmin on a Rails 4 project, and am getting this error:
Bundler could not find compatible versions for gem "activerecord":
In Gemfile:
activeadmin (>= 0) ruby depends on
activerecord (~> 3.0) ruby
rails (= 4.0.0) ruby depends on
activerecord (4.0.0)
I've followed this example: Active admin install with Rails 4 and added activeadmin to the gemfile like so:
gem 'activeadmin', github: 'gregbell/active_admin', branch: 'rails4'
But still no go; same error.
Ah my mistake; I thought I didn't have to include all the others since I wasn't using them; but it's not ActiveAdmin that is having a problem with ActiveRecord but something that AA depends on:
https://github.com/gregbell/active_admin/issues/2322
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With