X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d6e33993b181510069bf285c159acb8094e9edf8..505c8fa50631201e289cc55230d46fdf52fa2055:/apps/workbench/Gemfile diff --git a/apps/workbench/Gemfile b/apps/workbench/Gemfile index b62df6c021..d5b416b539 100644 --- a/apps/workbench/Gemfile +++ b/apps/workbench/Gemfile @@ -4,16 +4,23 @@ source 'https://rubygems.org' -gem 'rails', '~> 4.2.0' -gem 'arvados', '>= 0.1.20150511150219' +gem 'rails', '~> 5.2.0' +gem 'arvados', git: 'https://github.com/arvados/arvados.git', glob: 'sdk/ruby/arvados.gemspec' -gem 'activerecord-nulldb-adapter' +gem 'activerecord-nulldb-adapter', git: 'https://github.com/arvados/nulldb' gem 'multi_json' gem 'oj' gem 'sass' gem 'mime-types' gem 'responders', '~> 2.0' +# Pin sprockets to < 4.0 to avoid issues when upgrading rails to 5.2 +# See: https://github.com/rails/sprockets-rails/issues/443 +gem 'sprockets', '~> 3.0' + +# Fast app boot times +gem 'bootsnap', require: false + # Note: keeping this out of the "group :assets" section "may" allow us # to use Coffescript for UJS responses. It also prevents a # warning/problem when running tests: "WARN: tilt autoloading @@ -24,15 +31,21 @@ gem 'coffee-rails' # Gems used only for assets and not required # in production environments by default. group :assets do - gem 'sass-rails' + gem 'sassc-rails' gem 'uglifier', '~> 2.0' # See https://github.com/sstephenson/execjs#readme for more supported runtimes gem 'therubyracer', :platforms => :ruby end -group :development do +group :development, :test, :performance do gem 'byebug' + # Pinning launchy because 2.5 requires ruby >= 2.4, which arvbox currently + # doesn't have because of SSO. + gem 'launchy', '~> 2.4.0' +end + +group :development do gem 'ruby-debug-passenger' gem 'rack-mini-profiler', require: false gem 'flamegraph', require: false @@ -41,9 +54,7 @@ end group :test, :diagnostics, :performance do gem 'minitest', '~> 5.10.3' - # Selenium-webdriver 3.x is producing problems like the one described here: - # https://stackoverflow.com/questions/41310586/ruby-selenium-webdriver-unable-to-find-mozilla-geckodriver - gem 'selenium-webdriver', '~> 2.53.1' + gem 'selenium-webdriver', '~> 3' gem 'capybara', '~> 2.5.0' gem 'poltergeist', '~> 1.5.1' gem 'headless', '~> 1.0.2' @@ -59,10 +70,11 @@ group :test, :performance do gem 'simplecov', '~> 0.7', require: false gem 'simplecov-rcov', require: false gem 'mocha', require: false + gem 'rails-controller-testing' end gem 'jquery-rails' -gem 'bootstrap-sass', '~> 3.1.0' +gem 'bootstrap-sass', '~> 3.4.1' gem 'bootstrap-x-editable-rails' gem 'bootstrap-tab-history-rails' @@ -70,7 +82,6 @@ gem 'angularjs-rails', '~> 1.3.8' gem 'less' gem 'less-rails' -gem 'wiselinks' gem 'sshkey' # To use ActiveModel has_secure_password @@ -85,9 +96,6 @@ gem 'sshkey' # Deploy with Capistrano # gem 'capistrano' -# To use debugger -#gem 'byebug' - gem 'passenger', :group => :production gem 'andand' gem 'RedCloth' @@ -96,7 +104,7 @@ gem 'piwik_analytics' gem 'httpclient', '~> 2.5' # This fork has Rails 4 compatible routes -gem 'themes_for_rails', git: 'https://github.com/curoverse/themes_for_rails' +gem 'themes_for_rails', git: 'https://github.com/arvados/themes_for_rails' gem "deep_merge", :require => 'deep_merge/rails_compat' @@ -109,3 +117,7 @@ gem 'logstash-event' gem 'safe_yaml' gem 'npm-rails' + +# arvados-google-api-client and googleauth (and thus arvados) gems +# depend on signet, but signet 0.12 is incompatible with ruby 2.3. +gem 'signet', '< 0.12'