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 +4 -4
- data/dlss-capistrano.gemspec +1 -1
- data/lib/dlss/capistrano/tasks/install_ruby.rake +9 -16
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3a3fc8f6f6778e843f63175f39f76caee101089c48054ff5bb4248a0e6982d5c
|
|
4
|
+
data.tar.gz: b047fbcf6b0c092acb49b5e33b05793d310e9cb8f60fa0477438bf116c022a61
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0dde03d3c7b1e27dfe4e0d05eb8d57328acecdfa3980a4234b6b3b10e7d1aa1c88107055680ddecd70028c3d164b271f2110030a894aa7785e6ad97fc8c4bddb
|
|
7
|
+
data.tar.gz: 8ccd8ff8976a5003d43ce623686dd2f6cf6886318ba5096facf4200509fb6c2f09503b3cf6c9fff9006a6dbde21f06121edb6eb7740b38ba1d2124669a4d2e98
|
data/dlss-capistrano.gemspec
CHANGED
|
@@ -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
|
-
#
|
|
54
|
-
info 'Running bundle install
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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
|