From a94bbe47ebf68bad0c542302c005bfdb7fd6f50f Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Wed, 25 Feb 2015 00:11:13 +0100 Subject: [PATCH] suite --- Capfile | 4 ++++ config/deploy.rb | 2 +- config/secrets.yml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 Capfile diff --git a/Capfile b/Capfile new file mode 100644 index 0000000..d04de11 --- /dev/null +++ b/Capfile @@ -0,0 +1,4 @@ +load 'deploy' if respond_to?(:namespace) # cap2 differentiator +Dir['vendor/gems/*/recipes/*.rb','vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) } + +load 'config/deploy' # remove this line to skip loading any of the default tasks \ No newline at end of file diff --git a/config/deploy.rb b/config/deploy.rb index bffbf19..e28bb85 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -6,7 +6,7 @@ set :application, 'blog_perso_app' require "rvm/capistrano" - set :rvm_ruby_string, 'ruby-1.9.3-p0' + set :rvm_ruby_string, 'ruby-2.1.2' set :rvm_type, :user set :user, 'web' diff --git a/config/secrets.yml b/config/secrets.yml index 6067f8c..5f35ca5 100644 --- a/config/secrets.yml +++ b/config/secrets.yml @@ -19,4 +19,4 @@ test: # Do not keep production secrets in the repository, # instead read values from the environment. production: - secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> + secret_key_base: 036d36e22b059c5879d518cba92c2a699d169fb8b1b6854879d8397bcf598a587e55c46f1e3c6f23a6b2bb82b0e5a4ea17a98e4937cccd221307bf5ac86aa7de