Use diaspora gemset. Simplify rake runner.

This commit is contained in:
Sarah Mei 2010-10-20 21:43:03 -07:00
parent 29dd5bc727
commit 669a7cabb2
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
require 'fileutils'
Project.configure do |project|
project.build_command = 'source /usr/local/rvm/scripts/rvm && rvm use ruby-1.8.7-p249 && gem update --system && ruby lib/cruise/build.rb'
project.build_command = 'source /usr/local/rvm/scripts/rvm && rvm use ruby-1.8.7-p249@diaspora && gem update --system && ruby lib/cruise/build.rb'
end

View file

@ -8,7 +8,7 @@ end
def rake(*tasks)
tasks.each do |task|
return false unless system("#{root_dir}/bin/rake", task, 'RAILS_ENV=test')
return false unless system("rake", task, 'RAILS_ENV=test')
end
end