sdxxaa
Last Updated: September 01, 2016
·
3.986K
· 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

6171

thanks! that helped me a lot!

over 1 year ago ·
21423

Thank you!

over 1 year ago ·