Last Updated: September 01, 2016
·
4.931K
· tmilewski

Travis CI - "Don't know how to build task 'default'"

Travis CI is attempting to run your specs by executing "bundle exec rake." The problem here is simply that you don't have a default task set up in your Rakefile.

Simply add the following lines to your Rakefile:

require 'rspec/core/rake_task'
task :default => :spec
RSpec::Core::RakeTask.new

2 Responses
Add your response

thanks! that helped me a lot!

over 1 year ago ·

Thank you!

over 1 year ago ·