Skip to content
This repository
Browse code

concatenate to the musik!

  • Loading branch information...
commit e640dc3b6a6018988ccc412bbba1c95831f60e68 1 parent 20bd6ba
Wayne E. Seguin authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  lib/railsinstaller/methods.rb
6  lib/railsinstaller/methods.rb
@@ -324,9 +324,9 @@ def self.gem_install(ruby_path,gem,options={})
324 324
     printf " => Staging gem #{gem}\n" if $Flags[:verbose]
325 325
     %w(GEM_HOME GEM_PATH).each { |variable| ENV.delete(variable)}
326 326
     line = %Q(#{File.join(ruby_path, "bin", "gem")} install #{gem} )
327  
-    line += %Q( -v"#{options[:version]}" ) if options[:version]
328  
-    line += %Q( --env-shebang --no-rdoc --no-ri )
329  
-    line += options[:args] if options[:args]
  327
+    line << %Q( -v"#{options[:version]}" ) if options[:version]
  328
+    line << %Q( --env-shebang --no-rdoc --no-ri --source http://rubygems.org )
  329
+    line << options[:args] if options[:args]
330 330
     sh line
331 331
   end
332 332
 

0 notes on commit e640dc3

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