Update cap, rails and ruby version

This commit is contained in:
spengreb 2019-10-07 12:46:17 +02:00
parent 2eaf740299
commit c546896dc7
4 changed files with 18 additions and 3 deletions

View file

@ -10,7 +10,7 @@ require "capistrano/rbenv"
require "capistrano/bundler"
set :rbenv_type, :user
set :rbenv_ruby, '2.4.0'
set :rbenv_ruby, '2.6.4'
set :ssh_options, {:forward_agent => true}
# Load the SCM plugin appropriate to your project:
#

View file

@ -25,7 +25,7 @@ gem 'rack-cors', :require => 'rack/cors'
gem 'fast_jsonapi'
gem 'will_paginate'
gem 'capistrano', '3.10.1'
gem 'capistrano-rails', '~> 1.2'
gem 'capistrano-rails', '~> 1.4'
gem 'capistrano-passenger', '~> 0.2.0'
gem 'capistrano-rbenv'
gem 'capistrano-bundler'

View file

@ -214,7 +214,7 @@ DEPENDENCIES
capistrano (= 3.10.1)
capistrano-bundler
capistrano-passenger (~> 0.2.0)
capistrano-rails (~> 1.2)
capistrano-rails (~> 1.4)
capistrano-rbenv
database_cleaner
ed25519

View file

@ -1868,3 +1868,18 @@ DEPRECATION WARNING: Uniqueness validator will no longer enforce case sensitive
Completed 201 Created in 224ms (Views: 0.3ms | ActiveRecord: 5.9ms | Allocations: 4114)
Started POST "/vouchers?voucher=Lala_1&vouchee=Scootzaar" for ::1 at 2019-09-30 19:27:58 +0200
 (0.3ms) SET @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483
 (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
Processing by VouchersController#create as HTML
Parameters: {"voucher"=>"Lala_1", "vouchee"=>"Scootzaar"}
Voucher Exists? (0.3ms) SELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'Lala_1' LIMIT 1
↳ app/controllers/vouchers_controller.rb:23:in `create'
Completed 500 Internal Server Error in 86ms (ActiveRecord: 0.8ms | Allocations: 1838)
TypeError (no implicit conversion of false into String):
app/controllers/vouchers_controller.rb:34:in `+'
app/controllers/vouchers_controller.rb:34:in `create'