alpha_omega 0.0.199 → 0.0.200
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/alpha_omega/deploy.rb +2 -18
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.200
|
data/lib/alpha_omega/deploy.rb
CHANGED
@@ -627,15 +627,7 @@ Capistrano::Configuration.instance(:must_exist).load do |config|
|
|
627
627
|
|
628
628
|
namespace :ruby do
|
629
629
|
task :bundle do
|
630
|
-
|
631
|
-
set -e; cd #{deploy_release};
|
632
|
-
SCRIPT
|
633
|
-
|
634
|
-
run_script += <<-SCRIPT
|
635
|
-
#{ruby_loader} bundle check 2>&1 > /dev/null || { #{ruby_loader} bundle install --quiet --local #{bundler_options} && #{ruby_loader} bundle check > /dev/null; };
|
636
|
-
SCRIPT
|
637
|
-
|
638
|
-
run run_script.gsub(/[\n\r]+[ \t]+/, " ")
|
630
|
+
run "cd #{deploy_release} && bin/bundle-ruby #{ruby_loader} #{bundler_options}"
|
639
631
|
end
|
640
632
|
end
|
641
633
|
|
@@ -643,15 +635,7 @@ Capistrano::Configuration.instance(:must_exist).load do |config|
|
|
643
635
|
|
644
636
|
namespace :node do
|
645
637
|
task :bundle do
|
646
|
-
|
647
|
-
set -e; cd #{deploy_release};
|
648
|
-
SCRIPT
|
649
|
-
|
650
|
-
run_script += <<-SCRIPT
|
651
|
-
npm install;
|
652
|
-
SCRIPT
|
653
|
-
|
654
|
-
run run_script.gsub(/[\n\r]+[ \t]+/, " ")
|
638
|
+
run "cd #{deploy_release} && bin/bundle-node"
|
655
639
|
end
|
656
640
|
end
|
657
641
|
|