Skip to content

Can't run rails db:setup #55

@TanZng

Description

@TanZng

rails db:setup it's aborted with this error:

...
/.asdf/installs/ruby/3.0.0/lib/ruby/gems/3.0.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
** Invoke db:setup (first_time)
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Invoke environment (first_time)
** Execute environment
rails aborted!
LoadError: cannot load such file -- listen
/Desktop/view-component-demo/config/environments/development.rb:60:in `block in <main>'
/Desktop/view-component-demo/config/environments/development.rb:1:in `<main>'
/Desktop/view-component-demo/config/environment.rb:5:in `<main>'
Tasks: TOP => db:create => db:load_config => environment
(See full trace by running task with --trace)

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