Skip to content

Don't know how to build task 'default' (even though it exists) #9

Open
@Morred

Description

@Morred

I have several Rack apps I'm deploying on Heroku, and when using this buildpack as described in the readme, deployments started failing with

...
rake aborted!
Don't know how to build task 'default'
...

In my Rakefile I have

begin
  require 'rspec/core/rake_task'
  RSpec::Core::RakeTask.new(:spec)
  task default: :spec
rescue LoadError
end

and when I run bundle exec rake or bundle exec rake default, it works locally (obviously not using the buildpack).

Could this be an issue with the buildpack, or am I just doing it wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions