Commit d66e82a9 authored by Eloy Duran's avatar Eloy Duran

Make sure to use bundler for rake tasks that run bacon.

parent a42428a7
......@@ -96,21 +96,21 @@ namespace :spec do
desc "Run the unit specs"
task :unit => :unpack_fixture_tarballs do
sh "bacon #{specs('unit/**')} -q"
sh "bundle exec bacon #{specs('unit/**')} -q"
end
desc "Run the functional specs"
task :functional => :clean_env do
sh "bacon #{specs('functional/**')}"
sh "bundle exec bacon #{specs('functional/**')}"
end
desc "Run the integration spec"
task :integration => :clean_env do
sh "bacon spec/integration_spec.rb"
sh "bundle exec bacon spec/integration_spec.rb"
end
task :all => :clean_env do
sh "bacon #{specs('**')}"
sh "bundle exec bacon #{specs('**')}"
end
desc "Run all specs and build all examples"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment