Skip to content
This repository
Browse code

Don't use 'bundle install --local' by default.

  • Loading branch information...
commit 33253e5d556fb06a4f24728307ec470a565d28b6 1 parent 8cd6cd0
Ketan Padegaonkar authored
2  app/models/project.rb
@@ -100,7 +100,7 @@ def initialize(attrs = {})
100 100
     @config_file_content = ''
101 101
     @error_message = ''
102 102
     @triggers = [ ChangeInSourceControlTrigger.new(self) ]
103  
-    @bundler_args = %W(--path=#{self.gem_install_path} --gemfile=#{self.gemfile} --local --no-color)
  103
+    @bundler_args = %W(--path=#{self.gem_install_path} --gemfile=#{self.gemfile} --no-color)
104 104
 
105 105
     self.source_control = attrs[:scm] if attrs[:scm]
106 106
 
1  cruise_config.rb
@@ -3,4 +3,5 @@
3 3
 
4 4
 Project.configure do |project|
5 5
   project.email_notifier.emails = ["cruisecontrolrb@thoughtworks.com"] if Socket.gethostname =~ /cruisecontrolrb.thoughtworks.com/
  6
+  project.bundler_args = "--path=#{project.gem_install_path} --gemfile=#{project.gemfile} --no-color --local"
6 7
 end

0 notes on commit 33253e5

Please sign in to comment.
Something went wrong with that request. Please try again.