aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorent Peyraud2017-10-12 15:40:07 +0200
committerFlorent Peyraud2017-10-12 15:40:07 +0200
commite4440e131668e6a09e453fccb9019e6d6f9d3581 (patch)
treea45660e6f20415b7159a00dfd93f95cf775ed247
parent1a404a984a79b5029dcb357a6c6c68c70ddf21b8 (diff)
downloadchouette-core-e4440e131668e6a09e453fccb9019e6d6f9d3581.tar.bz2
remove capistrano-npm
-rw-r--r--Gemfile2
-rw-r--r--config/deploy.rb6
2 files changed, 4 insertions, 4 deletions
diff --git a/Gemfile b/Gemfile
index 80956c332..fbe8f4c4e 100644
--- a/Gemfile
+++ b/Gemfile
@@ -140,7 +140,7 @@ gem 'letter_opener'
group :development do
gem 'capistrano', '2.13.5'
gem 'capistrano-ext'
- gem 'capistrano-npm', require: false
+ #gem 'capistrano-npm', require: false
# Issue #3017 Requires ruby_dep which requires ruby > 2.2.3
# gem 'guard'
# gem 'guard-rspec', "~> 4.5.0"
diff --git a/config/deploy.rb b/config/deploy.rb
index 3ca2b4a4e..5fff31a4a 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -23,10 +23,10 @@ ssh_options[:forward_agent] = true
require "bundler/capistrano"
require 'whenever/capistrano'
-require 'capistrano/npm'
-set :npm_options, '--production --no-progress'
+#require 'capistrano/npm'
+#set :npm_options, '--production --no-progress'
-after 'deploy:finalize_update', 'npm:install'
+#after 'deploy:finalize_update', 'npm:install'
# Whenever
set :whenever_variables, ->{ "'environment=#{fetch :whenever_environment}&bundle_command=bin/bundle exec&additionnal_path=/var/lib/gems/2.2.0/bin'" } # invoke bin/bundle to use 'correct' ruby environment