Update cap, rails and ruby version
This commit is contained in:
parent
2eaf740299
commit
c546896dc7
4 changed files with 18 additions and 3 deletions
2
Capfile
2
Capfile
|
|
@ -10,7 +10,7 @@ require "capistrano/rbenv"
|
||||||
require "capistrano/bundler"
|
require "capistrano/bundler"
|
||||||
|
|
||||||
set :rbenv_type, :user
|
set :rbenv_type, :user
|
||||||
set :rbenv_ruby, '2.4.0'
|
set :rbenv_ruby, '2.6.4'
|
||||||
set :ssh_options, {:forward_agent => true}
|
set :ssh_options, {:forward_agent => true}
|
||||||
# Load the SCM plugin appropriate to your project:
|
# Load the SCM plugin appropriate to your project:
|
||||||
#
|
#
|
||||||
|
|
|
||||||
2
Gemfile
2
Gemfile
|
|
@ -25,7 +25,7 @@ gem 'rack-cors', :require => 'rack/cors'
|
||||||
gem 'fast_jsonapi'
|
gem 'fast_jsonapi'
|
||||||
gem 'will_paginate'
|
gem 'will_paginate'
|
||||||
gem 'capistrano', '3.10.1'
|
gem 'capistrano', '3.10.1'
|
||||||
gem 'capistrano-rails', '~> 1.2'
|
gem 'capistrano-rails', '~> 1.4'
|
||||||
gem 'capistrano-passenger', '~> 0.2.0'
|
gem 'capistrano-passenger', '~> 0.2.0'
|
||||||
gem 'capistrano-rbenv'
|
gem 'capistrano-rbenv'
|
||||||
gem 'capistrano-bundler'
|
gem 'capistrano-bundler'
|
||||||
|
|
|
||||||
|
|
@ -214,7 +214,7 @@ DEPENDENCIES
|
||||||
capistrano (= 3.10.1)
|
capistrano (= 3.10.1)
|
||||||
capistrano-bundler
|
capistrano-bundler
|
||||||
capistrano-passenger (~> 0.2.0)
|
capistrano-passenger (~> 0.2.0)
|
||||||
capistrano-rails (~> 1.2)
|
capistrano-rails (~> 1.4)
|
||||||
capistrano-rbenv
|
capistrano-rbenv
|
||||||
database_cleaner
|
database_cleaner
|
||||||
ed25519
|
ed25519
|
||||||
|
|
|
||||||
|
|
@ -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)
|
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
|
||||||
|
[1m[35m (0.3ms)[0m [1m[35mSET @@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[0m
|
||||||
|
[1m[35m (0.3ms)[0m [1m[34mSELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC[0m
|
||||||
|
Processing by VouchersController#create as HTML
|
||||||
|
Parameters: {"voucher"=>"Lala_1", "vouchee"=>"Scootzaar"}
|
||||||
|
[1m[36mVoucher Exists? (0.3ms)[0m [1m[34mSELECT 1 AS one FROM `vouchers` WHERE `vouchers`.`vouchee` = 'Lala_1' LIMIT 1[0m
|
||||||
|
↳ 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'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue