dlss-capistrano 6.1.0 → 6.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e1b8d438e47aeccd15dd40990abe17e81629f4d84ce51b1f51f80e977fe0cb1
4
- data.tar.gz: 4e8cb2dc57d7504eec22095ac9208068f3679b7b38f827eeb607e32cb22f67db
3
+ metadata.gz: 3a3fc8f6f6778e843f63175f39f76caee101089c48054ff5bb4248a0e6982d5c
4
+ data.tar.gz: b047fbcf6b0c092acb49b5e33b05793d310e9cb8f60fa0477438bf116c022a61
5
5
  SHA512:
6
- metadata.gz: f5c5375c551681add97ce74d86647b15db8eaa4d5c57ff5795b427a035a48ae1605a004ef43e97011b713c1d1b2a6ae09211c3e9363b568a094474e16e371e75
7
- data.tar.gz: 3b00d0ef2a7343a58c8d6f24e06dc0d741418c6cb7f382906c4f4a3a13285cc62298c692defe5cb2b6f3ecca44e7b2de1f14bba290c437d8bfb383bb7c5e6597
6
+ metadata.gz: 0dde03d3c7b1e27dfe4e0d05eb8d57328acecdfa3980a4234b6b3b10e7d1aa1c88107055680ddecd70028c3d164b271f2110030a894aa7785e6ad97fc8c4bddb
7
+ data.tar.gz: 8ccd8ff8976a5003d43ce623686dd2f6cf6886318ba5096facf4200509fb6c2f09503b3cf6c9fff9006a6dbde21f06121edb6eb7740b38ba1d2124669a4d2e98
@@ -4,7 +4,7 @@ $:.unshift lib unless $:.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "dlss-capistrano"
7
- s.version = '6.1.0'
7
+ s.version = '6.1.1'
8
8
 
9
9
  s.platform = Gem::Platform::RUBY
10
10
  s.authors = ["Chris Beer", 'Mike Giarlo']
@@ -50,23 +50,16 @@ namespace :dlss do
50
50
  info "Setting Ruby #{ruby_version} as current..."
51
51
  execute "rvm use #{ruby_version}"
52
52
 
53
- # Use Capistrano's bundler task for bundle install with fallback
54
- info 'Running bundle install using Capistrano bundler task...'
55
- begin
56
- invoke! 'bundler:install'
57
- info "Ruby #{ruby_version} installed successfully and bundle install completed!"
58
- rescue NameError => e
59
- warn "Bundler task not available (#{e.message}), trying manual bundle install..."
60
- # Fallback to manual bundle install in current directory
61
- if test("[ -f #{current_path}/Gemfile ]")
62
- within current_path do
63
- execute 'bundle install'
64
- info "Ruby #{ruby_version} installed successfully and bundle install completed!"
65
- end
66
- else
67
- error "Could not find Gemfile in #{current_path}. Please check your deployment configuration."
68
- exit 1
53
+ # We can't use capistraino-bundler task because it starts a new shell where rvm hasn't been used.
54
+ info 'Running bundle install...'
55
+ if test("[ -f #{current_path}/Gemfile ]")
56
+ within current_path do
57
+ execute :bundle, :install
58
+ info "Ruby #{ruby_version} installed successfully and bundle install completed!"
69
59
  end
60
+ else
61
+ error "Could not find Gemfile in #{current_path}. Please check your deployment configuration."
62
+ exit 1
70
63
  end
71
64
  end
72
65
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dlss-capistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.0
4
+ version: 6.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer