Commit 990dddfd

mo khan <mo@mokhan.ca>
2014-05-10 14:24:29
move .env.(production|staging) to config dir and remove cap rvm gem.
1 parent 3b1e200
Changed files (3)
config/deploy.rb
@@ -1,4 +1,5 @@
 require 'bundler/capistrano'
+require 'dotenv/deployment/capistrano'
 
 load "config/recipes/environments"
 load "config/recipes/base"
Gemfile
@@ -35,7 +35,6 @@ gem 'exception_notification'
 group :development do
   gem 'capistrano'
   gem 'capistrano-ext'
-  gem 'rvm-capistrano'
   gem 'bullet'
   gem 'better_errors'
   gem 'lol_dba'
@@ -61,4 +60,5 @@ group :production, :staging do
   gem 'newrelic_rpm'
   gem 'dalli'
   gem 'unicorn'
+  gem 'dotenv-deployment'
 end
Gemfile.lock
@@ -223,8 +223,6 @@ GEM
       rspec-expectations (~> 2.14.0)
       rspec-mocks (~> 2.14.0)
     rubyzip (1.1.3)
-    rvm-capistrano (1.5.1)
-      capistrano (~> 2.15.4)
     sass (3.2.19)
     sass-rails (4.0.3)
       railties (>= 4.0.0, < 5.0)
@@ -303,6 +301,7 @@ DEPENDENCIES
   delayed_job (~> 4.0.0)
   delayed_job_active_record (~> 4.0.0)
   devise (~> 3.0.0)
+  dotenv-deployment
   dotenv-rails
   exception_notification
   factory_girl_rails
@@ -324,7 +323,6 @@ DEPENDENCIES
   rails (~> 4.0.5)
   rmagick (~> 2.13.0)
   rspec-rails
-  rvm-capistrano
   sass-rails (~> 4.0)
   sdoc
   selenium-webdriver