Skip to content

Commit

Permalink
Remove explicit sprockets dependency for Rails 7
Browse files Browse the repository at this point in the history
    [!] There was an error parsing `Gemfile`:
    [!] There was an error parsing `Gemfile-rails-dependencies`: You cannot specify the same gem twice with different version requirements.
    You specified: sprockets-rails (>= 2.0.0) and sprockets-rails (>= 0). Bundler cannot continue.

     #  from /home/runner/work/rspec-rails/rspec-rails/Gemfile-rails-dependencies:10
     #  -------------------------------------------
     #    gem 'sprockets', :git => 'https://github.com/rails/sprockets.git', :branch => 'master'
     >    gem 'sprockets-rails', :git => 'https://github.com/rails/sprockets-rails.git', :branch => 'master'
  • Loading branch information
pirj committed Nov 17, 2021
1 parent f6a9b40 commit d3e7b85
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Gemfile-rails-dependencies
Expand Up @@ -3,11 +3,6 @@ version_file = File.expand_path("../.rails-version", __FILE__)
case version = ENV['RAILS_VERSION'] || (File.exist?(version_file) && File.read(version_file).chomp) || ''
when /master/
gem "rails", :git => "https://github.com/rails/rails.git"
gem "activerecord-deprecated_finders", :git => "https://github.com/rails/activerecord-deprecated_finders.git"
gem "web-console", :git => "https://github.com/rails/web-console", :group => :development
gem 'coffee-rails', :git => "https://github.com/rails/coffee-rails.git"
gem 'sprockets', :git => 'https://github.com/rails/sprockets.git', :branch => 'master'
gem 'sprockets-rails', :git => 'https://github.com/rails/sprockets-rails.git', :branch => 'master'
gem 'puma', "3.12.1"
gem 'activerecord-jdbcsqlite3-adapter', git: 'https://github.com/jruby/activerecord-jdbc-adapter', platforms: [:jruby]
gem 'selenium-webdriver', require: false
Expand Down

0 comments on commit d3e7b85

Please sign in to comment.