Commit 669a7cab authored by Sarah Mei's avatar Sarah Mei

Use diaspora gemset. Simplify rake runner.

parent 29dd5bc7
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
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment