Skip to content

Instantly share code, notes, and snippets.

@conradwt
Created June 20, 2018 06:59
Show Gist options
  • Select an option

  • Save conradwt/1cdffd99e18a8ceb78450143e6e6ed08 to your computer and use it in GitHub Desktop.

Select an option

Save conradwt/1cdffd99e18a8ceb78450143e6e6ed08 to your computer and use it in GitHub Desktop.

Revisions

  1. conradwt created this gist Jun 20, 2018.
    20 changes: 20 additions & 0 deletions amber-db-seed.log
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    Error in db/seeds.cr:1: while requiring "../config/application.cr"

    require "../config/application.cr"
    ^

    in config/application.cr:1: while requiring "./initializers/**"

    require "./initializers/**"
    ^

    in config/initializers/database.cr:1: while requiring "granite/adapter/postgresql": can't find file 'granite/adapter/postgresql'

    If you're trying to require a shard:
    - Did you remember to run `shards install`?
    - Did you make sure you're running the compiler in the same directory as your shard.yml?

    require "granite/adapter/postgresql"
    ^

    11:45:00 Database | (INFO) Seeded database