Working Gemfile for Rails 5

This commit is contained in:
Ari Timonen 2020-03-16 23:59:01 +02:00
parent 4b30fd2f71
commit cca3a03f59
2 changed files with 31 additions and 32 deletions

View file

@ -1,4 +1,4 @@
FROM ruby:2.3.8 FROM ruby:2.4.9
ENV RAILS_ENV development ENV RAILS_ENV development

61
Gemfile
View file

@ -2,10 +2,10 @@
source 'http://rubygems.org' source 'http://rubygems.org'
ruby '2.3.8' ruby '2.4.9'
# Rails core # Rails core
gem 'rails', '~> 4.2.11.1' gem 'rails', '~> 5.2.4.1'
gem 'rake', '< 11.0' gem 'rake', '< 11.0'
gem 'responders' gem 'responders'
@ -28,17 +28,17 @@ gem 'unread', '0.10.1'
# gem "acts_as_rateable", :git => "git://github.com/anton-zaytsev/acts_as_rateable.git" # gem "acts_as_rateable", :git => "git://github.com/anton-zaytsev/acts_as_rateable.git"
# View helper gems # View helper gems
gem 'active_link_to', '~> 1.0.2' gem 'active_link_to'
gem 'bbcoder', '~> 1.0.1' gem 'bbcoder'
gem 'bluecloth', '~> 2.2.0' gem 'bluecloth'
gem 'carrierwave', '~> 0.10.0' gem 'carrierwave'
gem 'country_select', require: 'country_select_without_sort_alphabetical' gem 'country_select', require: 'country_select_without_sort_alphabetical'
gem 'dynamic_form', '~> 1.1.4' gem 'dynamic_form'
gem 'i18n_country_select' gem 'i18n_country_select'
gem 'nokogiri', '~> 1.9.0' gem 'nokogiri'
gem 'public_suffix', '~> 3.1.1' gem 'public_suffix'
gem 'rmagick' gem 'rmagick'
gem 'sanitize', '~> 2.1.0' gem 'sanitize'
gem 'will_paginate', '~> 3.0.5' gem 'will_paginate', '~> 3.0.5'
# External APIs # External APIs
@ -46,56 +46,55 @@ gem 'google-api-client', '~> 0.10.3'
gem 'steam-condenser', github: 'koraktor/steam-condenser-ruby' gem 'steam-condenser', github: 'koraktor/steam-condenser-ruby'
# FIXME: Legacy feature shims # FIXME: Legacy feature shims
gem 'protected_attributes', '~> 1.1.3' # gem 'protected_attributes'
gem 'rails_autolink', '~> 1.1.5' gem 'rails_autolink'
# Javascript # Javascript
gem 'coffee-rails', '~> 4.0.0' gem 'coffee-rails'
gem 'i18n-js' gem 'i18n-js'
gem 'jquery-rails', '~> 2.0.2' gem 'jquery-rails'
gem 'tinymce-rails', '~> 3.5.9' gem 'tinymce-rails'
# Please install nodejs locally. # Please install nodejs locally.
# gem 'therubyracer', '~> 0.12.1' if RUBY_PLATFORM == 'x86_64-linux' # gem 'therubyracer', '~> 0.12.1' if RUBY_PLATFORM == 'x86_64-linux'
gem 'bourbon', '~> 3.1.8' gem 'bourbon'
gem 'font-awesome-sass', '~> 4.1.0.0' gem 'font-awesome-sass'
gem 'haml', '~> 4.0.5' gem 'haml'
gem 'neat', '~> 1.6.0' gem 'neat'
gem 'sass-rails', '~> 5.0.3' gem 'sass-rails'
gem 'uglifier', '~> 2.5.0' gem 'uglifier', '~> 2.5.0'
# Dependency version fix # Dependency version fix
gem 'signet', '0.11.0' gem 'signet', '0.11.0'
group :production do group :production do
gem 'newrelic_rpm', '~> 3.13.0.299' gem 'newrelic_rpm'
end end
group :development do group :development do
gem 'annotate' gem 'annotate'
gem 'better_errors' gem 'better_errors'
gem 'binding_of_caller' gem 'binding_of_caller'
gem 'quiet_assets'
gem 'spring', '2.0.2' gem 'spring', '2.0.2'
gem 'web-console' gem 'web-console', '3.7.0'
gem 'rubocop' gem 'rubocop'
end end
group :test do group :test do
# gem 'spring' # gem 'spring'
gem 'capybara', '~> 2.4.4' gem 'capybara'
gem 'codeclimate-test-reporter', '~> 0.3.0', require: nil gem 'codeclimate-test-reporter', require: nil
gem 'database_cleaner', '~> 1.2.0' gem 'database_cleaner'
gem 'factory_bot_rails' gem 'factory_bot_rails'
gem 'phantomjs', require: 'phantomjs/poltergeist' gem 'phantomjs', require: 'phantomjs/poltergeist'
gem 'poltergeist', '~> 1.6.0' gem 'poltergeist'
gem 'rspec' gem 'rspec'
gem 'rspec-rails', '~> 3.3.3' gem 'rspec-rails'
gem 'selenium-webdriver' gem 'selenium-webdriver'
gem 'simplecov', '~> 0.7.1', require: false gem 'simplecov', require: false
gem 'test-unit', '~> 3.1.3' gem 'test-unit'
gem 'timecop', '~> 0.7.1' gem 'timecop'
end end
group :development, :test do group :development, :test do