diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..19cce3eeb --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,11 @@ +jobs: +- job: macOS + pool: + vmImage: 'macos-10.13' + steps: + - script: | + gem install bundler + bundle install --retry=3 --jobs=4 + displayName: 'bundle install' + - script: ruby -Ilib exe/rake + displayName: 'ruby -Ilib exe/rake' diff --git a/test/helper.rb b/test/helper.rb index 8e061fa45..64f7db7e2 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -28,7 +28,7 @@ class TaskManager include Rake::TaskManager end - RUBY = ENV["BUNDLE_RUBY"] || Gem.ruby + RUBY = File.realpath(ENV["BUNDLE_RUBY"] || Gem.ruby) def setup ARGV.clear