Skip to content

Commit

Permalink
'rake test:install_deps' should use rvmsudo when possible.
Browse files Browse the repository at this point in the history
[ci: skip]
  • Loading branch information
FooBarWidget committed Feb 25, 2013
1 parent ccd096f commit 231b258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/test_basics.rb
Expand Up @@ -46,7 +46,7 @@
desc "Install developer dependencies"
task 'test:install_deps' do
gem_install = PlatformInfo.gem_command + " install --no-rdoc --no-ri"
gem_install = "sudo #{gem_install}" if boolean_option('SUDO')
gem_install = "#{PlatformInfo.ruby_sudo_command} #{gem_install}" if boolean_option('SUDO')
sh "#{gem_install} rails -v 2.3.15"
sh "#{gem_install} bundler rspec mime-types daemon_controller json"
if boolean_option('RAILS_BUNDLES', true)
Expand Down

0 comments on commit 231b258

Please sign in to comment.