capistrano-strategy-copy-bundled 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
1
  module CapistranoStrategyCopyBundled
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
 
4
4
  end
@@ -86,14 +86,14 @@ module Capistrano
86
86
  bundle_gemfile = configuration[:bundle_gemfile] || File.join("Gemfile")
87
87
  bundle_without = [*(configuration[:bundle_without] || [:development, :test])].compact
88
88
 
89
- args = ["--gemfile #{File.join(destination, bundle_gemfile)}"]
89
+ args = ["--gemfile #{bundle_gemfile}"]
90
90
  args << "--path #{bundle_dir}" unless bundle_dir.to_s.empty?
91
91
  args << bundle_flags.to_s
92
92
  args << "--without #{bundle_without.join(" ")}" unless bundle_without.empty?
93
93
 
94
94
  cmd = "#{bundle_cmd} install #{args.join(' ')}"
95
95
  Dir.chdir(destination) do
96
- defined?( Bundler ) ? with_original_env { system(cmd) } : system(cmd)
96
+ defined?(Bundler) ? with_original_env { system(cmd) } : system(cmd)
97
97
  end
98
98
  end
99
99
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: capistrano-strategy-copy-bundled
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.0
5
+ version: 0.4.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Rudolf Schmidt