Permalink
Browse files

try again.

  • Loading branch information...
1 parent e8c060e commit 936662b594fc9dbf4b88b903c10fb7985d584928 @jakedouglas jakedouglas committed Mar 26, 2010
Showing with 10 additions and 6 deletions.
  1. +10 −6 Rakefile
View
@@ -11,21 +11,25 @@ task :default => :spec
task :ci_spec do
Dir.chdir('ext') do
sh "make clean" rescue nil
- sh "memprof_ruby extconf.rb"
+ sh "~/.rvm/bin/memprof_ruby extconf.rb"
sh "make"
end
- sh "memprof_ruby spec/memprof_spec.rb"
+ sh "~/.rvm/bin/memprof_ruby spec/memprof_spec.rb"
end
task :x86_64_shared do
- sh "rvm install 1.8.7 --force -C --enable-shared"
- sh "rvm 1.8.7 --symlink memprof"
+ sh '/usr/bin/env bash -c "
+ source ~/.rvm/scripts/rvm &&
+ rvm install 1.8.7 --force -C --enable-shared &&
+ rvm 1.8.7 --symlink memprof"'
Rake::Task[:ci_spec].invoke
end
task :x86_64_static do
- sh "rvm install 1.8.7 --force -C --disable-shared"
- sh "rvm 1.8.7 --symlink memprof"
+ sh '/usr/bin/env bash -c "
+ source ~/.rvm/scripts/rvm &&
+ rvm install 1.8.7 --force -C --disable-shared &&
+ rvm 1.8.7 --symlink memprof"'
Rake::Task[:ci_spec].invoke
end

0 comments on commit 936662b

Please sign in to comment.