Use diaspora gemset. Simplify rake runner.
This commit is contained in:
parent
29dd5bc727
commit
669a7cabb2
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue