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 ...@@ -96,21 +96,21 @@ namespace :spec do
desc "Run the unit specs" desc "Run the unit specs"
task :unit => :unpack_fixture_tarballs do task :unit => :unpack_fixture_tarballs do
sh "bacon #{specs('unit/**')} -q" sh "bundle exec bacon #{specs('unit/**')} -q"
end end
desc "Run the functional specs" desc "Run the functional specs"
task :functional => :clean_env do task :functional => :clean_env do
sh "bacon #{specs('functional/**')}" sh "bundle exec bacon #{specs('functional/**')}"
end end
desc "Run the integration spec" desc "Run the integration spec"
task :integration => :clean_env do task :integration => :clean_env do
sh "bacon spec/integration_spec.rb" sh "bundle exec bacon spec/integration_spec.rb"
end end
task :all => :clean_env do task :all => :clean_env do
sh "bacon #{specs('**')}" sh "bundle exec bacon #{specs('**')}"
end end
desc "Run all specs and build all examples" 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