I have a Rails 4 application. Some time ago, after runing bundle install
and bundle update
I started to have problems with my application. I find out that the Faraday gem was causing some issues and, as some other gems are dependent on it, I can't uninstall it. Then I found my project backup that was from before I made the bundle install
/bundle update
commands. At that time my application worked great.
When comparing my old Gemfile.lock with the current one, I saw that some of the gems now have newer versions. I believe there is the cause of the application problems.
These are only the gems that are related in my current Gemfile.lock:
oauth2 (1.3.1)
faraday (>= 0.8, < 0.12)
jwt (~> 1.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (>= 1.2, < 3)
omniauth (1.4.2)
hashie (>= 1.2, < 4)
rack (>= 1.0, < 3)
omniauth-oauth2 (1.4.0)
oauth2 (~> 1.0)
omniauth (~> 1.2)
omniauth-yandex (0.0.2)
omniauth (~> 1.0)
omniauth-oauth2 (~> 1.0)
My old Gemfile.lock from when the application worked great:
oauth2 (1.3.0)
faraday (>= 0.8, < 0.11)
jwt (~> 1.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (>= 1.2, < 3)
omniauth (1.3.2)
hashie (>= 1.2, < 4)
rack (>= 1.0, < 3)
omniauth-oauth2 (1.4.0)
oauth2 (~> 1.0)
omniauth (~> 1.2)
omniauth-yandex (0.0.2)
omniauth (~> 1.0)
omniauth-oauth2 (~> 1.0
My current and previous Gemfile is the same:
gem 'tinymce-rails'
gem 'mysql2', '~> 0.3.18'
gem 'humanizer'
gem 'globalize', '~> 4.0.3'
gem "paperclip", "~> 4.2"
gem 'remotipart', '~> 1.2'
gem 'mailcatcher', '~> 0.6.1' , group: :development
gem 'rufus-scheduler', '~> 3.1.2'
gem "omniauth-yandex"
gem 'friendly_id', '~> 5.1.0'
gem 'devise'
gem 'rest-client', '~> 1.8'
gem "cocoon"
Is it possible to somehow downgrade some of the gems and their dependecies to versions in the old Gemfile.lock?
My app is required to have only omniauth-yandex
gem.