1
0
Fork 0

Improve code

This commit is contained in:
Alex Kotov 2019-09-09 02:52:02 +05:00
parent 7b4985518f
commit cffd6071f0
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

@ -51,4 +51,7 @@ append :linked_dirs,
# before first deploy.
# set :ssh_options, verify_host_key: :secure
set :rvm_ruby_version, '2.6.2@partynest'
ruby_version = File.read(File.expand_path('.ruby-version', __dir__)).chomp
ruby_gemset = File.read(File.expand_path('.ruby-gemset', __dir__)).chomp
set :rvm_ruby_version, "#{ruby_version}@#{ruby_gemset}"