From a061f51f7023c414f53c95086a65569146cc43ac Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Mon, 22 Jul 2019 15:41:07 +0200 Subject: Migrate to Rails 5.0 This commit contains all the recommended steps in the commit guide: https://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#upgrading-from-rails-4-2-to-rails-5-0 It also updates the associated web-console dependency. Signed-off-by: Hans de Graaff --- Gemfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Gemfile') diff --git a/Gemfile b/Gemfile index 6509fb7..dca327e 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,7 @@ source 'https://rubygems.org' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' -gem 'rails', '4.2.11.1' +gem 'rails', '5.0.7.2' # Use mysql as the database for Active Record # gem 'mysql2' # Use SCSS for stylesheets @@ -50,8 +50,12 @@ group :development do gem 'byebug' # Access an IRB console on exception pages or by using <%= console %> in views - gem 'web-console', '~> 2.0' + gem 'web-console', '~> 3.0' # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring gem 'spring' end + +group :test do + gem 'rails-controller-testing' +end -- cgit v1.2.3-65-gdbad