Skip to content
Snippets Groups Projects
Commit 669a7cab authored by Sarah Mei's avatar Sarah Mei
Browse files

Use diaspora gemset. Simplify rake runner.

parent 29dd5bc7
No related branches found
No related tags found
No related merge requests found
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment