Open TanZng opened 3 years ago
rails db:setup it's aborted with this error:
rails db:setup
... /.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)
rails db:setup
it's aborted with this error: