1
0
Fork 0

Fix error

This commit is contained in:
Alex Kotov 2019-09-09 02:56:31 +05:00
parent 9e6feef594
commit eaf72063d9
Signed by: kotovalexarian
GPG key ID: 553C0EBBEB5D5F08

View file

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