source 'https://rubygems.org'
-gem 'rails', '~> 5.2.0'
-gem 'responders', '~> 2.0'
+gem 'rails', '~> 7.0.0'
+gem 'responders'
+gem 'i18n'
+gem 'sprockets-rails'
group :test, :development do
gem 'factory_bot_rails'
-
- # As of now (2019-03-27) There's an open issue about incompatibilities with
- # newer versions of this gem: https://github.com/rails/rails-perftest/issues/38
- gem 'ruby-prof', '~> 0.15.0'
-
+ gem 'ruby-prof'
# Note: "require: false" here tells bunder not to automatically
# 'require' the packages during application startup. Installation is
# still mandatory.
- gem 'test-unit', '~> 3.0', require: false
- gem 'simplecov', '~> 0.7.1', require: false
+ gem 'test-unit', require: false
+ gem 'simplecov', require: false
gem 'simplecov-rcov', require: false
gem 'mocha', require: false
gem 'byebug'
gem 'listen'
end
-# Fast app boot times
-gem 'bootsnap', require: false
-
gem 'pg', '~> 1.0'
gem 'multi_json'
gem 'oj'
-gem 'therubyracer'
-gem 'uglifier', '~> 2.0'
-
gem 'jquery-rails'
-gem 'rvm-capistrano', :group => :test
-
gem 'acts_as_api'
gem 'passenger'
# Locking to 5.10.3 to workaround issue in 5.11.1 (https://github.com/seattlerb/minitest/issues/730)
gem 'minitest', '5.10.3'
-# Restricted because omniauth >= 1.5.0 requires Ruby >= 2.1.9:
-gem 'omniauth', '~> 1.4.0'
-gem 'omniauth-oauth2', '~> 1.1'
-
gem 'andand'
gem 'optimist'
gem 'themes_for_rails', git: 'https://github.com/arvados/themes_for_rails'
-# Import arvados gem.
-gem 'arvados', '~> 2.1.5'
+gem 'arvados', '~> 2.7.0.rc1'
gem 'httpclient'
-gem 'sshkey'
-gem 'safe_yaml'
gem 'lograge'
gem 'logstash-event'
gem 'rails-perftest'
gem 'rails-controller-testing'
-gem 'sass-rails'
-
-# arvados-google-api-client and googleauth depend on signet, but
-# signet 0.12 is incompatible with ruby 2.3.
-gem 'signet', '< 0.12'
+gem 'webrick'
+
+gem 'mini_portile2', '~> 2.8', '>= 2.8.1'
+
+# If we're running on Ruby 2.x, we'll go down the `else` branch below.
+plugin 'bundler-override' if RUBY_VERSION >= "3.0"
+if bundler_override_paths = Bundler::Plugin.index.load_paths("bundler-override")
+ require File.join(bundler_override_paths[0], "bundler-override")
+ # Ruby 3.4 drops base64 as a default gem. Because of this, various other gems
+ # are starting to declare base64 as a dependency. However, locking one
+ # specific version of base64 makes it more difficult to support older Rubies
+ # that still have it as a default. See <https://dev.arvados.org/issues/21583>.
+ # Because we are focused on supporting distros with those older Rubies, we
+ # drop base64 dependencies here. These overrides can go away once we shift to
+ # supporting Ruby 3.4+.
+ override 'faraday', drop: ['base64']
+else
+ # The plugin is not available, either because Ruby is too old or Bundler
+ # is installing it this run. That's fine as long as Bundler isn't updating
+ # Gemfile.lock. Unfortunately we can't know that for sure here, because
+ # bundler needs to read Gemfile in order to figure out whether it's going
+ # to update Gemfile.lock. Flagging the situation for the user is the best
+ # we can do.
+ Bundler.ui.warn("bundler-override plugin not available - do NOT commit any changes to Gemfile.lock")
+end
# Install any plugin gems
Dir.glob(File.join(File.dirname(__FILE__), 'lib', '**', "Gemfile")) do |f|