Skip to content

A fresh pliny project without models won't start #298

Description

@gudmundur

After we merged #287 a freshly created Pliny project won't start without any models. In most cases I think it's fair to assume that a project will have models, but I'd personally prefer if we could start without making code changes.

$ pliny-new my-app
$ cd my-app
$ bin/setup
$ bundle exec rspec
LoadError: empty glob path: /Users/gudmundur/Projects/my-app/lib/models/**/*.rb
  /Users/gudmundur/Projects/my-app/.bundle/gems/pliny-0.22.0/lib/pliny/utils.rb:22:in `require_glob'
  /Users/gudmundur/Projects/my-app/lib/initializer.rb:37:in `block in require!'
...

@cyberdelia @brandur What do you guys think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions