Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

try again.

  • Loading branch information...
commit 936662b594fc9dbf4b88b903c10fb7985d584928 1 parent e8c060e
@jakedouglas jakedouglas authored
Showing with 10 additions and 6 deletions.
  1. +10 −6 Rakefile
View
16 Rakefile
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.