Browse Source

Make a `spring` group which user must opt in to

Running `bundle install --deployment` will not bundle spring any more;
run `bundle install --deployment --with spring` to opt in to using
spring.
Akinori MUSHA 9 years ago
parent
commit
0d0468bc6f
1 changed files with 4 additions and 2 deletions
  1. 4 2
      Gemfile

+ 4 - 2
Gemfile

@@ -112,8 +112,10 @@ group :development do
     gem 'rspec-rails', '~> 3.1'
     gem 'rspec-html-matchers', '~> 0.7'
     gem 'shoulda-matchers'
-    gem 'spring', '~> 1.3.0'
-    gem 'spring-commands-rspec'
+    group :spring, optional: true do
+      gem 'spring', '~> 1.3.0'
+      gem 'spring-commands-rspec'
+    end
     gem 'vcr'
     gem 'webmock', '~> 1.17.4', require: false
   end