Rails 5.2.3 to 6.0.0 upgrade dependency hell - ruby-on-rails

I ran bundle update rails to update my app to 6.0, and got this very confusing output. Updating these gems in the gemfile does not have any impact. I can't make heads or tails of this error, and it feels like a catch 22. This is the output:
Bundler could not find compatible versions for gem "actionpack":
In Gemfile:
activerecord-session_store (~> 1.1, >= 1.1.3) was resolved to 1.1.3, which depends on
actionpack (>= 4.0)
activeadmin (~> 1.4.3) was resolved to 1.4.3, which depends on
formtastic (~> 3.1) was resolved to 3.1.5, which depends on
actionpack (>= 3.2.13)
activeadmin (~> 1.4.3) was resolved to 1.4.3, which depends on
inherited_resources (>= 1.9.0) was resolved to 1.11.0, which depends on
has_scope (~> 0.6) was resolved to 0.7.2, which depends on
actionpack (>= 4.1)
activeadmin (~> 1.4.3) was resolved to 1.4.3, which depends on
inherited_resources (>= 1.9.0) was resolved to 1.11.0, which depends on
actionpack (>= 5.0, < 6.1)
rails (= 6.0.0) was resolved to 6.0.0, which depends on
actionpack (= 6.0.0)
devise (~> 4.2) was resolved to 4.7.1, which depends on
responders was resolved to 3.0.0, which depends on
actionpack (>= 5.0)
Bundler could not find compatible versions for gem "activemodel":
In Gemfile:
carrierwave (~> 2.0, >= 2.0.2) was resolved to 2.0.2, which depends on
activemodel (>= 5.0.0)
rails (= 6.0.0) was resolved to 6.0.0, which depends on
activemodel (= 6.0.0)
Bundler could not find compatible versions for gem "activerecord":
In Gemfile:
activerecord-session_store (~> 1.1, >= 1.1.3) was resolved to 1.1.3, which depends on
activerecord (>= 4.0)
activeadmin (~> 1.4.3) was resolved to 1.4.3, which depends on
kaminari (>= 0.15) was resolved to 1.1.1, which depends on
kaminari-activerecord (= 1.1.1) was resolved to 1.1.1, which depends on
activerecord
rails (= 6.0.0) was resolved to 6.0.0, which depends on
activerecord (= 6.0.0)
activeadmin (~> 1.4.3) was resolved to 1.4.3, which depends on
ransack (>= 1.8.7) was resolved to 2.3.0, which depends on
activerecord (>= 5.0)
Bundler could not find compatible versions for gem "activesupport":
In Gemfile:
bullet (~> 6.1) was resolved to 6.1.0, which depends on
activesupport (>= 3.0.0)
carrierwave (~> 2.0, >= 2.0.2) was resolved to 2.0.2, which depends on
activesupport (>= 5.0.0)
jbuilder (~> 2.0) was resolved to 2.9.1, which depends on
activesupport (>= 4.2.0)
activeadmin (~> 1.4.3) was resolved to 1.4.3, which depends on
kaminari (>= 0.15) was resolved to 1.1.1, which depends on
activesupport (>= 4.1.0)
rails (= 6.0.0) was resolved to 6.0.0, which depends on
activesupport (= 6.0.0)
stripe_event (~> 2.3) was resolved to 2.3.0, which depends on
activesupport (>= 3.1)
Bundler could not find compatible versions for gem "rails":
In Gemfile:
rails (= 6.0.0)
invisible_captcha (~> 1.0) was resolved to 1.0.0, which depends on
rails (>= 4.2)
mini_backtrace (= 0.1.3) was resolved to 0.1.3, which depends on
rails (>= 2.3.3)
Bundler could not find compatible versions for gem "railties":
In Gemfile:
activeadmin (~> 1.4.3) was resolved to 1.4.3, which depends on
railties (>= 4.2, < 5.3)
activerecord-session_store (~> 1.1, >= 1.1.3) was resolved to 1.1.3, which depends on
railties (>= 4.0)
devise (~> 4.2) was resolved to 4.7.1, which depends on
railties (>= 4.1.0)
factory_bot_rails (~> 4.8, >= 4.8.2) was resolved to 4.11.1, which depends on
railties (>= 3.0.0)
activeadmin (~> 1.4.3) was resolved to 1.4.3, which depends on
inherited_resources (>= 1.9.0) was resolved to 1.11.0, which depends on
railties (>= 5.0, < 6.1)
activeadmin (~> 1.4.3) was resolved to 1.4.3, which depends on
jquery-rails (>= 4.2.0) was resolved to 4.3.5, which depends on
railties (>= 4.2.0)
rails (= 6.0.0) was resolved to 6.0.0, which depends on
railties (= 6.0.0)
sass-rails (~> 5.0.6) was resolved to 5.0.7, which depends on
railties (>= 4.0.0, < 6)
web-console (~> 3.0) was resolved to 3.7.0, which depends on
railties (>= 5.0)
My Gemfile looks like this:
source 'https://rubygems.org'
ruby '2.5.0'
gem 'rails', '6.0.0'
gem 'pg', '~> 0.18.3'
gem 'iodine', '~> 0.7.38'
gem 'sass-rails', '~> 5.0.6'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails'
gem 'therubyracer', '~> 0.12.3'
gem 'jquery-rails'
gem 'turbolinks'
gem 'jbuilder', '~> 2.0'
gem 'sdoc', '~> 0.4.0', group: :doc
gem 'figaro', '~> 1.1', '>= 1.1.1'
gem 'less-rails', '~> 4.0.0'
gem 'autoprefixer-rails'
gem 'devise', '~> 4.2'
gem 'mini_magick', '~> 4.5', '>= 4.5.1'
gem 'carrierwave', '~> 2.0', '>= 2.0.2'
gem 'fog-aws', '~> 3.5', '>= 3.5.2'
gem 'aws-sdk', '~> 2'
gem 'activeadmin', '~> 1.4.3'
gem 'friendly_id', '~> 5.1'
gem 'pagy', '~> 3.7', '>= 3.7.2'
gem 'activerecord-session_store', '~> 1.1', '>= 1.1.3'
gem 'sprockets', '3.7.2'
gem 'aasm', '~> 5.0'
gem 'redis', '~> 4.1', '>= 4.1.3'
gem 'sidekiq', '~> 6.0', '>= 6.0.4'
gem 'local_time', '~> 2.1'
gem 'stripe', '~> 5.11'
gem 'stripe_event', '~> 2.3'
gem 'lockbox', '~> 0.2.4'
gem 'mailgunner', '~> 2.4'
gem 'rack-attack'
gem 'invisible_captcha', '~> 1.0'
group :development do
gem 'web-console', '~> 3.0'
gem 'letter_opener', '~> 1.7'
gem 'bullet', '~> 6.1'
end
group :development, :test do
gem 'byebug'
gem 'spring'
gem 'spring-commands-rspec'
gem 'factory_bot_rails', '~> 4.8', '>= 4.8.2'
gem 'faker', '~> 1.6', '>= 1.6.6'
gem 'minitest', '~> 5.8', '>= 5.8.4'
end
group :test do
gem 'minitest-reporters', '1.0.5'
gem 'mini_backtrace', '0.1.3'
gem 'guard-minitest', '2.3.1'
gem 'database_cleaner', '~> 1.7'
end
group :production do
gem 'newrelic_rpm'
end
What does the error mean? Where do I start? Do I do bundle update first, and then bundle update rails? Or vice versa? This is like battling a hydra.

I managed to get past this error by adding the following to my Gemfile
gem 'sassc', '~> 2.1.0'
After that, running bundle install returned this:
You have requested:
sassc ~> 2.1.0
The bundle currently has sassc locked at 2.4.0.
Try running `bundle update sassc`
...so I ran bundle update sassc and then bundle install. Everything seems to have updated normally, so far at least.
This is apparently a known issue with sassc, mentioned here and here.
However, my bundler was getting stuck on the sassc update. Hopefully someone else can provide more insight on the other gems

Related

Updating Rails 4.2 to 5

I am trying to update a rails app from 4.2 to 5 but see the following error when performing bundle update
In Gemfile:
actionpack
activerecord-session_store (= 1.1.0) was resolved to 1.1.0, which depends on
actionpack (< 5.2, >= 4.0)
rails (= 5.0.7.2) was resolved to 5.0.7.2, which depends on
actionpack (= 5.0.7.2)
rspec-rails (~> 4.0.0) was resolved to 4.0.2, which depends on
actionpack (>= 4.2)
Bundler could not find compatible versions for gem "activemodel":
In Gemfile:
activeresource (~> 5.0) was resolved to 5.1.1, which depends on
activemodel (< 7, >= 5.0)
carrierwave (= 1.3.1) was resolved to 1.3.1, which depends on
activemodel (>= 4.0.0)
paperclip (~> 3.0) was resolved to 3.5.4, which depends on
activemodel (>= 3.0.0)
rails (= 5.0.7.2) was resolved to 5.0.7.2, which depends on
activemodel (= 5.0.7.2)
Bundler could not find compatible versions for gem "activerecord":
In Gemfile:
activerecord-session_store (= 1.1.0) was resolved to 1.1.0, which depends on
activerecord (< 5.2, >= 4.0)
acts_as_list (= 0.9.19) was resolved to 0.9.19, which depends on
activerecord (>= 3.0)
oink was resolved to 0.10.1, which depends on
activerecord
rails (= 5.0.7.2) was resolved to 5.0.7.2, which depends on
activerecord (= 5.0.7.2)
thinking-sphinx (= 3.4.2) was resolved to 3.4.2, which depends on
activerecord (>= 3.1.0)
Bundler could not find compatible versions for gem "countries":
In Gemfile:
countries
country_select (~> 3.1, >= 3.1.1) was resolved to 3.1.1, which depends on
countries (~> 2.0)
Bundler could not find compatible versions for gem "geokit":
In Gemfile:
geokit (= 1.6.7)
geokit-rails (= 1.1.4) was resolved to 1.1.4, which depends on
geokit (>= 1.5.0)
Bundler could not find compatible versions for gem "i18n":
In Gemfile:
i18n (~> 0.6)
activemerchant was resolved to 1.43.3, which depends on
i18n (~> 0.5)
money (~> 6.13.8) was resolved to 6.13.8, which depends on
i18n (<= 2, >= 0.6.4)
Bundler could not find compatible versions for gem "json":
In Gemfile:
activemerchant was resolved to 1.43.3, which depends on
json (~> 1.7)
etsy (~> 0.2.5) was resolved to 0.2.7, which depends on
json (>= 1.5.0)
jslint (~> 1.2.0) was resolved to 1.2.0, which depends on
json
rdoc (~> 3.4) was resolved to 3.12.2, which depends on
json (~> 1.4)
simplecov was resolved to 0.17.1, which depends on
json (< 3, >= 1.8)
Bundler could not find compatible versions for gem "mime-types":
In Gemfile:
carrierwave (= 1.3.1) was resolved to 1.3.1, which depends on
mime-types (>= 1.16)
paperclip (~> 3.0) was resolved to 3.5.4, which depends on
mime-types
rest-client (~> 1.6.7) was resolved to 1.6.14, which depends on
mime-types (~> 1.16)
Bundler could not find compatible versions for gem "nokogiri":
In Gemfile:
nokogiri
activemerchant was resolved to 1.43.3, which depends on
nokogiri (~> 1.4)
Bundler could not find compatible versions for gem "railties":
In Gemfile:
activerecord-session_store (= 1.1.0) was resolved to 1.1.0, which depends on
railties (< 5.2, >= 4.0)
coffee-rails (~> 4.2.2) was resolved to 4.2.2, which depends on
railties (>= 4.0.0)
jquery-rails (~> 3.1.2) was resolved to 3.1.5, which depends on
railties (< 5.0, >= 3.0)
rails (= 5.0.7.2) was resolved to 5.0.7.2, which depends on
railties (= 5.0.7.2)
rspec-rails (~> 4.0.0) was resolved to 4.0.2, which depends on
railties (>= 4.2)
sass-rails (~> 5.0.5) was resolved to 5.0.7, which depends on
railties (< 6, >= 4.0.0)
Bundler could not find compatible versions for gem "redis":
In Gemfile:
redis (~> 3.3)
resque-scheduler (~> 4.3.0) was resolved to 4.3.1, which depends on
redis (< 5, >= 3.3)
Bundler could not find compatible versions for gem "rest-client":
In Gemfile:
rest-client (~> 1.6.7)
chargebee (= 2.2.8) was resolved to 2.2.8, which depends on
rest-client (~> 1.4)
easypost (~> 2.7, >= 2.7.1) was resolved to 2.7.3, which depends on
rest-client (>= 1.4)
Bundler could not find compatible versions for gem "ruby":
In Gemfile:
ruby
activerecord-session_store (= 1.1.0) was resolved to 1.1.0, which depends on
ruby (>= 1.9.3)
bundler (= 1.17.3) was resolved to 1.17.3, which depends on
ruby (>= 1.8.7)
minitest was resolved to 5.16.3, which depends on
ruby (< 4.0, >= 2.6)
rails (= 5.0.7.2) was resolved to 5.0.7.2, which depends on
ruby (>= 2.2.2)
rspec-rails (~> 4.0.0) was resolved to 4.0.2, which depends on
ruby (>= 2.2.0)
sass was resolved to 3.7.4, which depends on
ruby (>= 2.0.0)
Bundler could not find compatible versions for gem "thinking-sphinx":
In Gemfile:
thinking-sphinx (= 3.4.2)
ts-resque-delta (~> 2.0.0) was resolved to 2.0.0, which depends on
thinking-sphinx (>= 1.5.0)
below is the Gemfile
source 'https://rubygems.org'
gem 'rails', '5.0.7.2'
gem 'bundler', '1.17.3'
gem 'etsy', '~> 0.2.5'
gem 'chargebee', '2.2.8'
gem 'rest-client', '~> 1.6.7'
gem 'mime-types', '>=1.16'
gem 'oauth', '~> 0.4.7'
gem 'packet', '>=0.1.10'
gem 'hash_extension', '>=0.0.4'
gem 'chronic', '>=0.2.3'
gem 'wicked_pdf', '~> 1.1.0'
gem 'xml-mapping', '=0.8.1'
gem 'money', '~> 6.13.8'
gem 'ey_config', '~> 0.0.6'
gem 'thinking-sphinx', '3.4.2'
gem 'ts-resque-delta', '~> 2.0.0'
gem 'rmagick', '2.16.0'
gem 'hpricot', '~> 0.8.6'
gem 'nokogiri'#, '1.5.0'
gem 'tlsmail', '0.0.1'
gem 'multipass', '~> 1.4.0'
gem 'spreadsheet', '1.0.0'
gem "mysql2", "0.3.18"
gem "rake"#, "10.1.1"
gem 'redis', '~> 3.3'
gem "typhoeus", "~> 0.6.3"
gem 'json'#, '~> 1.7.7'
gem 'gdata-19', '~> 1.1.2'
gem 'crack', '~> 0.4.1'
gem 'geokit', '1.6.7'
gem 'geokit-rails', '1.1.4'
gem 'resque', '~> 1.25'
gem 'resque_solo', "~> 0.3.0"
gem 'resque-scheduler', '~> 4.3.0'
gem 'rdoc', '~> 3.4'
gem 'diff-lcs', '1.1.3'
gem 'i18n', '~> 0.6'
gem 'whenever', :require => false
gem 'jslint', '~> 1.2.0'
gem 'jslint_on_rails', '~> 1.1.1'
gem 'haml', '3.1.6'
gem 'liquid', '~> 2.6.1'
gem 'cancan', '~> 1.6.10'
# gem 'devise', '1.0.10'
gem 'will_paginate', :path => './vendor/gems/will_paginate-master'
#, '~> 3.0.7'
#gem 'country_select', '~> 2.2.0'
# gem 'posix-spawn', :git => 'git://github.com/rtomayko/posix-spawn.git'
gem 'libxml-ruby'#, '~> 2.7.0'
gem 'newrelic_rpm', '~> 6.1.0.352'
gem 'exceptiontrap', '1.0.11'
#gem 'exception_notification', '4.4.0'
gem 'barby', '~> 0.6.2'
gem 'chunky_png', '~> 1.3.3'
#gem 'savon', '~> 2.0'
gem 'prestashop_integration', :path => './vendor/gems/prestashop_integration'
gem 'htmlentities', '~> 4.3.3'
gem 'gravatarify', '~> 3.0.0'
gem 'jquery-rails', '~> 3.1.2'
#gem 'dalli'
gem 'p3p', '~> 1.2'
gem "paperclip", "~> 3.0"
gem 'carrierwave', '1.3.1'
gem 'mousetrap-rails', :path => './vendor/gems/mousetrap-rails-master'
gem "recaptcha", require: "recaptcha/rails"
gem 'iso_country_codes'
gem 'acts_as_list', '0.9.19'
gem 'activemerchant', :git => 'https://github.com/activemerchant/active_merchant', :tag => 'v1.43.3'
gem "actionpack"
gem "countries"
gem 'easypost', '~> 2.7', '>= 2.7.1'
gem 'stripe', '3.28.0'
gem 'oauth2', '~> 1.0'
gem 'sass'
gem 'activerecord-session_store', '1.1.0'
gem 'activeresource', '~> 5.0'
gem 'country_select', '~> 3.1', '>= 3.1.1'
gem 'net-sftp', '~> 2.1', '>= 2.1.2'
gem 'oink'
gem 'rbnacl', '3.4.0'
gem 'bcrypt_pbkdf', '1.1.0'
#gem 'ar-octopus'
gem 'rotp'
gem 'makara', '~> 0.3.10'
group :development do
gem 'wkhtmltopdf-binary'
end
group :development, :test do
gem "test-unit"
gem "jasmine", "~> 1.3.2"
gem 'rspec'
gem 'rspec-rails', '~> 4.0.0'
gem 'autotest-rails-pure', "~> 4.1.2"
gem 'shoulda'
gem 'factory_bot', '4.11.1'
gem 'minitest'
gem "mocha"
gem 'fakeweb'
gem 'database_cleaner'
end
gem 'sass-rails', '~> 5.0.5'
gem 'coffee-rails', '~> 4.2.2'
gem 'uglifier', '~> 2.0.0'
gem 'simplecov', require: false, group: :test
Any help on how to fix this would be great, Thanks.
The advice not to specify versions in Gemfile is wrong.
You have go through each error and update other gems to versions compatible with rails 5.
An example:
Bundler could not find compatible versions for gem "activemodel":
In Gemfile:
activeresource (~> 5.0) was resolved to 5.1.1, which depends on
activemodel (< 7, >= 5.0)
carrierwave (= 1.3.1) was resolved to 1.3.1, which depends on
activemodel (>= 4.0.0)
paperclip (~> 3.0) was resolved to 3.5.4, which depends on
activemodel (>= 3.0.0)
rails (= 5.0.7.2) was resolved to 5.0.7.2, which depends on
activemodel (= 5.0.7.2)
Installed versions of carrierwave and paperclip are incompatible with activemodel 5.0, you have to update these two gems to be compatible with rails 5 (activemodel 5.0 precisely)
Same has to be done with other gems that are listed in your message.

Updating complex rails app, is it possible?

Did some version bumps in Gemfile, even used special site RailsBumb, but still get long error message like:
Bundler could not find compatible versions for gem "actioncable":
In Gemfile:
action-cable-testing was resolved to 0.6.1, which depends on
actioncable (>= 5.0)
rails (= 6.1.6) was resolved to 6.1.6, which depends on
actioncable (= 6.1.6)
Bundler could not find compatible versions for gem "actionpack":
In Gemfile:
active_model_serializers (~> 0.10.13) was resolved to 0.10.13, which depends on
actionpack (< 7.1, >= 4.1)
activerecord-session_store (>= 1.1.1) was resolved to 2.0.0, which depends on
actionpack (>= 5.2.4.1)
inherited_resources was resolved to 1.13.1, which depends on
actionpack (< 7.1, >= 5.2)
rails (= 6.1.6) was resolved to 6.1.6, which depends on
actionpack (= 6.1.6)
rails-controller-testing was resolved to 1.0.5, which depends on
actionpack (>= 5.0.1.rc1)
inherited_resources was resolved to 1.13.1, which depends on
responders (< 4, >= 2) was resolved to 3.0.1, which depends on
actionpack (>= 5.0)
rspec-rails was resolved to 5.1.2, which depends on
actionpack (>= 5.2)
slim-rails (~> 3.5.1) was resolved to 3.5.1, which depends on
actionpack (>= 3.1)
Bundler could not find compatible versions for gem "actionview":
In Gemfile:
rails (= 6.1.6) was resolved to 6.1.6, which depends on
actionview (= 6.1.6)
rails-controller-testing was resolved to 1.0.5, which depends on
actionview (>= 5.0.1.rc1)
web-console (>= 2.1.0) was resolved to 4.2.0, which depends on
actionview (>= 6.0.0)
Bundler could not find compatible versions for gem "activemodel":
In Gemfile:
active_model_serializers (~> 0.10.13) was resolved to 0.10.13, which depends on
activemodel (< 7.1, >= 4.1)
paperclip (~> 6.1) was resolved to 6.1.0, which depends on
activemodel (>= 4.2.0)
rails (= 6.1.6) was resolved to 6.1.6, which depends on
activemodel (= 6.1.6)
simple_form was resolved to 5.1.0, which depends on
activemodel (>= 5.2)
validate_url was resolved to 1.0.15, which depends on
activemodel (>= 3.0.0)
web-console (>= 2.1.0) was resolved to 4.2.0, which depends on
activemodel (>= 6.0.0)
Bundler could not find compatible versions for gem "activerecord":
In Gemfile:
activerecord-nulldb-adapter (~> 0.8.0) was resolved to 0.8.0, which depends on
activerecord (< 7.1, >= 5.2.0)
activerecord-postgis-adapter (~> 7.0.0) was resolved to 7.0.1, which depends on
activerecord (~> 6.1)
activerecord-session_store (>= 1.1.1) was resolved to 2.0.0, which depends on
activerecord (>= 5.2.4.1)
annotate (~> 2.7.5) was resolved to 2.7.5, which depends on
activerecord (< 7.0, >= 3.2)
awesome_nested_set (~> 3.4.0) was resolved to 3.4.0, which depends on
activerecord (< 7.0, >= 4.0.0)
delayed_job_active_record (>= 4.1.5) was resolved to 4.1.7, which depends on
activerecord (< 8.0, >= 3.0)
jsonapi-resources was resolved to 0.11.0.beta1, which depends on
activerecord (>= 5.1)
paranoia (~> 2.2) was resolved to 2.6.0, which depends on
activerecord (< 7.1, >= 5.1)
rails (= 6.1.6) was resolved to 6.1.6, which depends on
activerecord (= 6.1.6)
activerecord-postgis-adapter (~> 7.0.0) was resolved to 7.0.1, which depends on
rgeo-activerecord (~> 7.0.0) was resolved to 7.0.1, which depends on
activerecord (>= 5.0)
scoped_search (~> 4.1) was resolved to 4.1.10, which depends on
activerecord (>= 4.2.0)
Bundler could not find compatible versions for gem "activesupport":
In Gemfile:
delayed_job (>= 4.1.10) was resolved to 4.1.10, which depends on
activesupport (< 8.0, >= 3.0)
factory_bot_rails was resolved to 6.2.0, which depends on
factory_bot (~> 6.2.0) was resolved to 6.2.1, which depends on
activesupport (>= 5.0.0)
paperclip (~> 6.1) was resolved to 6.1.0, which depends on
activesupport (>= 4.2.0)
rails (= 6.1.6) was resolved to 6.1.6, which depends on
activesupport (= 6.1.6)
rails-controller-testing was resolved to 1.0.5, which depends on
activesupport (>= 5.0.1.rc1)
rspec-rails was resolved to 5.1.2, which depends on
activesupport (>= 5.2)
wicked_pdf (~> 1.1) was resolved to 1.4.0, which depends on
activesupport
Bundler could not find compatible versions for gem "listen":
In Gemfile:
listen (>= 3.0.5, < 3.2)
spring-watcher-listen (>= 2.0.1) was resolved to 2.0.1, which depends on
listen (< 4.0, >= 2.7)
Bundler could not find compatible versions for gem "omniauth":
In Gemfile:
omniauth (~> 1.0.3)
omniauth-vkontakte was resolved to 1.8.0, which depends on
omniauth-oauth2 (>= 1.5, <= 1.8.0) was resolved to 1.5.0, which depends on
omniauth (~> 1.2)
Bundler could not find compatible versions for gem "rails":
In Gemfile:
rails (= 6.1.6)
paperclip-watermark was resolved to 1.0.0, which depends on
rails
rails-jquery-autocomplete (~> 1.0) was resolved to 1.0.5, which depends on
rails (>= 3.2)
Bundler could not find compatible versions for gem "railties":
In Gemfile:
activerecord-session_store (>= 1.1.1) was resolved to 2.0.0, which depends on
railties (>= 5.2.4.1)
dotenv-rails was resolved to 2.7.6, which depends on
railties (>= 3.2)
factory_bot_rails was resolved to 6.2.0, which depends on
railties (>= 5.0.0)
inherited_resources was resolved to 1.13.1, which depends on
railties (< 7.1, >= 5.2)
jquery-rails (~> 4.3) was resolved to 4.5.0, which depends on
railties (>= 4.2.0)
jquery-ui-rails (~> 6.0) was resolved to 6.0.1, which depends on
railties (>= 3.2.16)
jsonapi-resources was resolved to 0.11.0.beta1, which depends on
railties (>= 5.1)
rails (= 6.1.6) was resolved to 6.1.6, which depends on
railties (= 6.1.6)
rspec-rails was resolved to 5.1.2, which depends on
railties (>= 5.2)
sass-rails (~> 6.0.0) was resolved to 6.0.0, which depends on
sassc-rails (>= 2.1.1, ~> 2.1) was resolved to 2.1.2, which depends on
railties (>= 4.0)
slim-rails (~> 3.5.1) was resolved to 3.5.1, which depends on
railties (>= 3.1)
web-console (>= 2.1.0) was resolved to 4.2.0, which depends on
railties (>= 6.0.0)
Tried dozens combinations of versions, but still this kind of error,
It looks like dead end, any ideas ?
Here is Gemfile
diff --git a/Gemfile b/Gemfile
index 638cd59..a973528 100644
--- a/Gemfile
+++ b/Gemfile
## -1,18 +1,20 ##
source 'https://rubygems.org'
+ruby "2.7.6"
+
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end
-gem 'tzinfo-data'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
-gem 'rails', '~> 5.1.3'
+gem 'rails', '6.1.6'
+gem 'bootsnap', '>= 1.4.4', require: false
# Use sqlite3 as the database for Active Record
#gem 'mysql2', '~> 0.4'
# Use Puma as the app server
-gem 'puma', '~> 3.11'
+gem 'puma', '~> 5.6.4'
# Use SCSS for stylesheets
-gem 'sass-rails', '~> 5.0'
+gem 'sass-rails', '~> 6.0.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# See https://github.com/rails/execjs#readme for more supported runtimes
## -22,10 +24,10 ## gem 'uglifier', '>= 1.3.0'
gem 'turbolinks'
#redis
-gem 'redis', '~> 3.2'
+gem 'redis', '~> 4.7'
#OmniAuth
-gem 'omniauth'
+gem 'omniauth', '~> 1.0.3'
gem 'omniauth-facebook'
gem 'omniauth-vkontakte', github: 'mamantoha/omniauth-vkontakte'
gem 'omniauth-mail_ru'
## -35,13 +37,15 ## gem 'omniauth-odnoklassniki'
gem "omniauth-yandex"
gem 'mimemagic', github: 'mimemagicrb/mimemagic', ref: '01f92d86d15d85cfd0f20dabd025dcbd36a8a60f'
+gem 'actionpack', '6.1.6'
+
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
gem 'pry-rails'
# Adds support for Capybara system testing and selenium driver
- gem 'capybara', '~> 2.13'
- gem 'selenium-webdriver'
+ gem 'capybara', '~> 2.7.1'
+ gem 'selenium-webdriver'
gem 'dotenv-rails'
gem 'rails-controller-testing'
gem 'action-cable-testing'
## -49,11 +53,11 ## end
group :development do
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
- gem 'web-console', '>= 3.3.0'
+ gem 'web-console', '>= 2.1.0'
gem 'listen', '>= 3.0.5', '< 3.2'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
- gem 'spring'
- gem 'spring-watcher-listen', '~> 2.0.0'
+ gem 'spring', '< 3.0'
+ gem 'spring-watcher-listen', '>= 2.0.1'
end
group :test do
## -70,7 +74,7 ## gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
gem 'bcrypt', '~> 3.1'
# SLIM templates
-gem 'slim-rails', '~> 3.1'
+gem 'slim-rails', '~> 3.5.1'
# Admin forms
gem 'simple_form'
## -79,8 +83,8 ## gem 'inherited_resources'
gem 'validate_url'
# fixutres
-gem 'factory_bot_rails', '~> 4.8'
-gem 'database_cleaner', '~> 1.6'
+gem 'factory_bot_rails'
+gem 'database_cleaner', '<= 2.0.0.beta'
# TODO: remove this gem
# переменные окружения в application.yml
## -94,31 +98,31 ## gem 'wkhtmltopdf-binary', '~> 0.12'
# яндекс касса
gem 'yandex-money-sdk', '~> 1.0'
# хранение сессии в БД
-gem 'activerecord-session_store', '~> 1.1'
+gem 'activerecord-session_store', '>= 1.1.1'
# delayed_job
-gem 'delayed_job', '~> 4.1'
-gem 'delayed_job_active_record', '~> 4.1'
+gem 'delayed_job', '>= 4.1.10'
+gem 'delayed_job_active_record', '>= 4.1.5'
gem 'daemons', '~> 1.2'
# локализация
-gem 'i18n', '~> 0.9'
+gem 'i18n', '~> 1.10.0'
gem 'russian', '~> 0.6'
-
+
# Image upload
-gem 'paperclip', '~> 5.1'
+gem 'paperclip', '~> 6.1'
gem 'paperclip-watermark', :github => 'vikewoods/paperclip-watermark'
# JSON API
gem 'jsonapi-resources', github: 'cerebris/jsonapi-resources'
# Annotate models
-gem 'annotate', '~> 2.7', require: false
+gem 'annotate', '~> 2.7.5', require: false
gem 'webpacker', '~> 3.0'
gem 'rack-cors', '~> 1.0'
-gem 'active_model_serializers', '~> 0.10'
+gem 'active_model_serializers', '~> 0.10.13'
gem 'scoped_search', '~> 4.1'
# JavaScript libraries - remove after fully migrated to angular
## -134,18 +138,18 ## gem 'will_paginate', '~> 3.1'
gem 'will_paginate-bootstrap', '~> 1.0'
# needed to compile assets without database
-gem 'activerecord-nulldb-adapter', '~> 0.3'
+gem 'activerecord-nulldb-adapter', '~> 0.8.0'
# Localities tree structure
-gem 'awesome_nested_set', '~> 3.1'
+gem 'awesome_nested_set', '~> 3.4.0'
gem 'rgeo'
gem 'rgeo-proj4'
gem 'geocoder', '~> 1.4'
-gem 'activerecord-postgis-adapter', '~> 5.2.3'
+gem 'activerecord-postgis-adapter', '~> 7.0.0'
gem 'savon', '~> 2.12.0'
gem 'faraday'
# Authorization
-gem 'cancancan', '~> 2.0'
+gem 'cancancan', '~> 3.4.0'
# deploy
gem 'mina'

bundle install gives me a lot of gems version errors

when I run bundle install I got this long error
bundle install
Fetching gem metadata from https://rails-assets.org/...
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rails-assets.org/..
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies......................
Bundler could not find compatible versions for gem "actionmailer":
In Gemfile:
mail_form was resolved to 1.7.1, which depends on
actionmailer (>= 3.2, < 6)
rails (= 4.2.11.1) was resolved to 4.2.11.1, which depends on
actionmailer (= 4.2.11.1)
Bundler could not find compatible versions for gem "actionpack":
In Gemfile:
activeadmin was resolved to 1.4.3, which depends on
formtastic (~> 3.1) was resolved to 3.1.5, which depends on
actionpack (>= 3.2.13)
activeadmin was resolved to 1.4.3, which depends on
inherited_resources (>= 1.9.0) was resolved to 1.9.0, which depends on
has_scope (~> 0.6) was resolved to 0.7.2, which depends on
actionpack (>= 4.1)
activeadmin was resolved to 1.4.3, which depends on
inherited_resources (>= 1.9.0) was resolved to 1.9.0, which depends on
actionpack (>= 4.2, < 5.3)
rails (= 4.2.11.1) was resolved to 4.2.11.1, which depends on
actionpack (= 4.2.11.1)
activeadmin was resolved to 1.4.3, which depends on
ransack (>= 1.8.7) was resolved to 1.8.10, which depends on
actionpack (>= 3.0, < 5.2)
Bundler could not find compatible versions for gem "activemodel":
In Gemfile:
mail_form was resolved to 1.7.1, which depends on
activemodel (>= 3.2, < 6)
paperclip (~> 4.3.1) was resolved to 4.3.7, which depends on
activemodel (>= 3.2.0)
rails (= 4.2.11.1) was resolved to 4.2.11.1, which depends on
activemodel (= 4.2.11.1)
web-console (~> 2.0) was resolved to 2.3.0, which depends on
activemodel (>= 4.0)
Bundler could not find compatible versions for gem "activerecord":
In Gemfile:
friendly_id (~> 5.4.0) was resolved to 5.4.2, which depends on
activerecord (>= 4.0.0)
rails (= 4.2.11.1) was resolved to 4.2.11.1, which depends on
activerecord (= 4.2.11.1)
rails-erd was resolved to 1.6.1, which depends on
activerecord (>= 4.2)
activeadmin was resolved to 1.4.3, which depends on
ransack (>= 1.8.7) was resolved to 1.8.10, which depends on
activerecord (>= 3.0, < 5.2)
Bundler could not find compatible versions for gem "activesupport":
In Gemfile:
activeadmin was resolved to 1.4.3, which depends on
arbre (>= 1.1.1) was resolved to 1.4.0, which depends on
activesupport (>= 3.0.0, < 6.2)
jbuilder (~> 2.0) was resolved to 2.9.1, which depends on
activesupport (>= 4.2.0)
activeadmin was resolved to 1.4.3, which depends on
kaminari (>= 0.15) was resolved to 1.2.1, which depends on
activesupport (>= 4.1.0)
paperclip (~> 4.3.1) was resolved to 4.3.7, which depends on
activesupport (>= 3.2.0)
rails (= 4.2.11.1) was resolved to 4.2.11.1, which depends on
activesupport (= 4.2.11.1)
activeadmin was resolved to 1.4.3, which depends on
ransack (>= 1.8.7) was resolved to 1.8.10, which depends on
activesupport (>= 3.0, < 5.2)
Bundler could not find compatible versions for gem "coffee-rails":
In Gemfile:
coffee-rails (~> 4.1.0)
activeadmin was resolved to 1.4.3, which depends on
coffee-rails
Bundler could not find compatible versions for gem "i18n":
In Gemfile:
rails (= 4.2.11.1) was resolved to 4.2.11.1, which depends on
activesupport (= 4.2.11.1) was resolved to 4.2.11.1, which depends on
i18n (~> 0.7)
activeadmin was resolved to 1.4.3, which depends on
ransack (>= 1.8.7) was resolved to 1.8.10, which depends on
i18n
Bundler could not find compatible versions for gem "json":
In Gemfile:
recaptcha was resolved to 5.8.1, which depends on
json
sdoc (~> 0.4.0) was resolved to 0.4.2, which depends on
json (~> 1.7, >= 1.7.7)
Bundler could not find compatible versions for gem "mimemagic":
In Gemfile:
paperclip (~> 4.3.1) was resolved to 4.3.7, which depends on
mimemagic (= 0.3.0)
Could not find gem 'mimemagic (= 0.3.0)', which is required by gem 'paperclip
(~> 4.3.1)', in any of the sources.
Bundler could not find compatible versions for gem "paperclip":
In Gemfile:
paperclip (~> 4.3.1)
paperclip-ffmpeg (~> 1.2.0) was resolved to 1.2.0, which depends on
paperclip (>= 2.5.2)
Bundler could not find compatible versions for gem "rack":
In Gemfile:
rails (= 4.2.11.1) was resolved to 4.2.11.1, which depends on
actionpack (= 4.2.11.1) was resolved to 4.2.11.1, which depends on
rack (~> 1.6)
omniauth-google-oauth2 was resolved to 1.0.0, which depends on
oauth2 (~> 1.1) was resolved to 1.4.7, which depends on
rack (>= 1.2, < 3)
omniauth-google-oauth2 was resolved to 1.0.0, which depends on
omniauth (~> 2.0) was resolved to 2.0.4, which depends on
rack (>= 1.6.2, < 3)
sass-rails (~> 5.0) was resolved to 5.0.7, which depends on
sprockets (>= 2.8, < 4.0) was resolved to 3.7.2, which depends on
rack (> 1, < 3)
devise was resolved to 4.8.0, which depends on
warden (~> 1.2.3) was resolved to 1.2.7, which depends on
rack (>= 1.0)
Bundler could not find compatible versions for gem "rails":
In Gemfile:
rails (= 4.2.11.1)
paperclip-ffmpeg (~> 1.2.0) was resolved to 1.2.0, which depends on
rails
Bundler could not find compatible versions for gem "railties":
In Gemfile:
activeadmin was resolved to 1.4.3, which depends on
railties (>= 4.2, < 5.3)
coffee-rails (~> 4.1.0) was resolved to 4.1.1, which depends on
railties (>= 4.0.0, < 5.1.x)
devise was resolved to 4.8.0, which depends on
railties (>= 4.1.0)
activeadmin was resolved to 1.4.3, which depends on
jquery-rails (>= 4.2.0) was resolved to 4.4.0, which depends on
railties (>= 4.2.0)
rails (= 4.2.11.1) was resolved to 4.2.11.1, which depends on
railties (= 4.2.11.1)
sass-rails (~> 5.0) was resolved to 5.0.7, which depends on
railties (>= 4.0.0, < 6)
web-console (~> 2.0) was resolved to 2.3.0, which depends on
railties (>= 4.0)
Bundler could not find compatible versions for gem "sprockets":
In Gemfile:
activeadmin was resolved to 1.4.3, which depends on
sprockets (< 4.1)
sass-rails (~> 5.0) was resolved to 5.0.7, which depends on
sprockets (>= 2.8, < 4.0)
Bundler could not find compatible versions for gem "thor":
In Gemfile:
thor (= 0.19.1)
activeadmin was resolved to 1.4.3, which depends on
jquery-rails (>= 4.2.0) was resolved to 4.4.0, which depends on
thor (>= 0.14, < 2.0)
rails (= 4.2.11.1) was resolved to 4.2.11.1, which depends on
railties (= 4.2.11.1) was resolved to 4.2.11.1, which depends on
thor (>= 0.18.1, < 2.0)
Here is my gemfile
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.11.1'
# Use postgresql as the database for Active Record
gem 'pg', '~> 0.20.0'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.1.0'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
# Use Unicorn as the app server
# gem 'unicorn'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
group :development do
# Access an IRB console on exception pages or by using <%= console %> in views
gem 'web-console', '~> 2.0'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
end
gem 'devise'
group :development, :test do
gem "interactive_editor"
gem "hirb"
gem "awesome_print"
gem 'byebug'
end
group :production do
gem 'rails_12factor'
gem 'puma'
end
gem 'mail_form'
gem 'font-awesome-sass', '~> 5.12.0'
gem 'bootsnap', '>= 1.1.0', require: false
gem 'bootstrap-sass', '~>3.2.0'
gem 'paperclip', '~> 4.3.1'
gem 'aws-sdk-s3'
gem 'aws-sdk', '< 2.0'
gem 'thor', '0.19.1'
gem 'omniauth-google-oauth2'
gem "recaptcha", require: "recaptcha/rails"
gem 'friendly_id', '~> 5.4.0'
gem 'activeadmin'
gem 'rails-assets-sweetalert2', source: 'https://rails-assets.org'
gem 'sweet-alert2-rails'
gem 'sweet-alert-confirm'
gem 'cocoon'
gem 'bigdecimal', '1.3.5'
gem 'paperclip-av-transcoder'
gem "paperclip-ffmpeg", "~> 1.2.0"
gem "will_paginate", "~> 3.0.4"
gem 'rails-erd'
gem 'bundler', '1.17.3'
How can I fix it?
This error came after I changed the bundle version
It is as the error message says. The versions you specify in the gem file is not available. This happens because each bundle version only supports down to a certain version, for example it can download any version from 2 and up but version 1 is not available. I see your gems are outdated, and you should consider to just update them. Unless you have done something version specific you should not need these restrictions anymore for rails version 4.2. If not you have to roll back your bundle version.
The error is mimemagic, required by paperclip.
You'll have to upgrade or provide the mimemagic gem from source.
This happened to me and had to obtain the code from an old project in order to supply it.
For reference:
https://github.com/rails/rails/issues/41750

Rails 5 upgrade error - Bundler could not find compatible versions for gem "actionpack":

I have been stuck on these errors all day without any resolution. I am hoping someone could help me on this site. I have read numerous similar questions on this website and online, but none seem to work. I am trying to upgrade my rails from 4.2.2 to 5.1.6. However, I continue to get the following error every time I run bundle install.
Bundler could not find compatible versions for gem "actionpack":
In Gemfile:
active_model_serializers (= 0.10.9) was resolved to 0.10.9, which depends on
actionpack (< 6, >= 4.1)
axlsx_rails (= 0.5.2) was resolved to 0.5.2, which depends on
actionpack (>= 3.1)
rails (= 5.1.6) was resolved to 5.1.6, which depends on
actionpack (= 5.1.6)
responders (~> 2.0) was resolved to 2.4.1, which depends on
actionpack (< 6.0, >= 4.2.0)
Bundler could not find compatible versions for gem "actionview":
In Gemfile:
rails (= 5.1.6) was resolved to 5.1.6, which depends on
actionview (= 5.1.6)
web-console (= 3.5.1) was resolved to 3.5.1, which depends on
actionview (>= 5.0)
Bundler could not find compatible versions for gem "activemodel":
In Gemfile:
active_model_serializers (= 0.10.9) was resolved to 0.10.9, which depends on
activemodel (< 6, >= 4.1)
carrierwave (= 1.2.2) was resolved to 1.2.2, which depends on
activemodel (>= 4.0.0)
rails (= 5.1.6) was resolved to 5.1.6, which depends on
activemodel (= 5.1.6)
web-console (= 3.5.1) was resolved to 3.5.1, which depends on
activemodel (>= 5.0)
Bundler could not find compatible versions for gem "activesupport":
In Gemfile:
carrierwave (= 1.2.2) was resolved to 1.2.2, which depends on
activesupport (>= 4.0.0)
jbuilder (= 2.7.0) was resolved to 2.7.0, which depends on
activesupport (>= 4.2.0)
rails (= 5.1.6) was resolved to 5.1.6, which depends on
activesupport (= 5.1.6)
spring (= 2.0.2) was resolved to 2.0.2, which depends on
activesupport (>= 4.2)
Bundler could not find compatible versions for gem "json":
In Gemfile:
fog (= 1.42) was resolved to 1.42.0, which depends on
json (~> 2.0)
sdoc (= 0.4.0) was resolved to 0.4.0, which depends on
json (~> 1.8)
Bundler could not find compatible versions for gem "rails":
In Gemfile:
rails (= 5.1.6)
mini_backtrace (= 0.1.3) was resolved to 0.1.3, which depends on
rails (>= 2.3.3)
Bundler could not find compatible versions for gem "railties":
In Gemfile:
coffee-rails (= 4.2.2) was resolved to 4.2.2, which depends on
railties (>= 4.0.0)
jquery-rails (= 4.3.1) was resolved to 4.3.1, which depends on
railties (>= 4.2.0)
rails (= 5.1.6) was resolved to 5.1.6, which depends on
railties (= 5.1.6)
responders (~> 2.0) was resolved to 2.4.1, which depends on
railties (< 6.0, >= 4.2.0)
sass-rails (= 5.0.6) was resolved to 5.0.6, which depends on
railties (< 6, >= 4.0.0)
web-console (= 3.5.1) was resolved to 3.5.1, which depends on
railties (>= 5.0)
I have tried to update all of the gems it gives an error on to the latest version, but that does not seem to help. I have also deleted the gem.lock file which didn't help.
My gem file is:
source 'https://rubygems.org'
ruby '2.4.5'
gem 'rails', '5.1.6'
gem 'bcrypt', '3.1.12'
gem 'faker', '1.7.3'
gem 'carrierwave', '1.2.2'
gem 'mini_magick', '4.7.0'
gem 'fog', '1.42'
gem 'will_paginate', '3.1.6'
gem 'bootstrap-will_paginate', '1.0.0'
gem 'bootstrap-sass', '3.3.7'
gem 'sass-rails', '5.0.6'
gem 'uglifier', '3.2.0'
gem 'coffee-rails', '4.2.2'
gem 'jquery-rails', '4.3.1'
gem 'turbolinks', '5.0.1'
gem 'jbuilder', '2.7.0'
gem 'sdoc', '0.4.0', group: :doc
gem 'axlsx', '2.0.1'
gem 'axlsx_rails', '0.5.2'
gem 'prawn'
gem 'prawn-table'
gem 'aws-sdk', '~> 2'
gem 'multipart-post'
#api gems
gem 'active_model_serializers', '0.10.9'
gem 'responders', '~> 2.0'
gem "recaptcha", require: "recaptcha/rails"
group :development, :test do
gem 'sqlite3', '1.3.9'
gem 'byebug', '9.0.6', platform: :mri
gem 'web-console', '3.5.1'
gem 'listen', '3.1.5'
gem 'spring', '2.0.2'
gem 'spring-watcher-listen', '2.0.1'
end
group :test do
gem 'minitest-reporters', '1.0.5'
gem 'mini_backtrace', '0.1.3'
gem 'guard-minitest', '2.3.1'
end
group :production do
gem 'pg', '0.17.1'
gem 'rails_12factor', '0.0.2'
gem 'puma', '3.9.1'
end
Any help would be greatly appreciated! I have lost the good part of today trying to figure this out!

deleted merge conflicts in Gemfile.lock

I would rather not be writing this. but the pain is, that I didn't know what the conflict was or whatever and i found it in the gemfile.lock and DELETED IT! and I read someone said not to do that..so i don't know how to fix my problem. Here is my gemfile, and gemfile.lock.
-------->Gemfile<----------
source 'https://rubygems.org'
ruby '2.2.6'
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end
gem 'rails', '~> 5.0.1'
gem 'puma', '~> 3.0'
gem 'sass-rails', '~> 5.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.2'
gem 'jquery-rails'
gem 'jquery-ui-rails', '~> 5.0.5'
gem 'turbolinks', '~> 5'
gem 'jbuilder', '~> 2.5'
gem 'bootstrap', '~> 4.0.0.alpha6'
gem 'devise'
gem 'activeadmin', '~> 1.0.0.pre5'
gem 'inherited_resources', github: 'activeadmin/inherited_resources'
group :development, :test do
gem 'byebug', platform: :mri
gem 'sqlite3'
end
group :development do
gem 'web-console', '>= 3.3.0'
end
group :production do
gem 'pg'
end
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
---------> Gemfile ends here <--------
GIT
remote: https://github.com/activeadmin/inherited_resources.git
revision: eea3aa21f3867dc182e4db24d1c765bdbcb3df34
specs:
inherited_resources (1.7.0)
actionpack (>= 3.2, < 5.1)
has_scope (~> 0.6)
railties (>= 3.2, < 5.1)
responders
GEM
remote: https://rubygems.org/
specs:
actioncable (5.0.2)
actionpack (= 5.0.2)
nio4r (>= 1.2, < 3.0)
websocket-driver (~> 0.6.1)
actionmailer (5.0.2)
actionpack (= 5.0.2)
actionview (= 5.0.2)
activejob (= 5.0.2)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (5.0.2)
actionview (= 5.0.2)
activesupport (= 5.0.2)
rack (~> 2.0)
rack-test (~> 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.0.2)
activesupport (= 5.0.2)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activeadmin (1.0.0.pre5)
arbre (~> 1.0, >= 1.0.2)
bourbon
coffee-rails
formtastic (~> 3.1)
formtastic_i18n
inherited_resources (~> 1.6)
jquery-rails
-------->GEMFILE.LOCK ENDS HERE<------------
You can delete the Gemfile.lock and run following command ie
bundle install
It will again create the Gemfile.lock and added dependency gems.

Resources