Open
Description
A bug is a crash or incorrect behavior. If you have a debugging or troubleshooting question, please open a discussion on the Rails forum, category webpacker
Setup environment:
- Ruby version: ruby 3.3.2
- Rails version: 7.1.3
- Webpacker version: 6.0.0.rc.6
Expected behavior:
running bundle exec rails webpacker:install
with no error
Actual behavior:
running command raises the following error:
bin/rails aborted!
NoMethodError: undefined method `exists?' for class Dir (NoMethodError)
if Dir.exists?(Webpacker.config.source_path)
^^^^^^^^
Did you mean? exist?
/home/etienne/dev/rails_projects/monstagedeseconde/bin/rails:9:in <top (required)>' /home/etienne/dev/rails_projects/monstagedeseconde/bin/spring:15:in
<top (required)>'
/home/etienne/dev/rails_projects/monstagedeseconde/bin/rails:3:in load' /home/etienne/dev/rails_projects/monstagedeseconde/bin/rails:3:in
Tasks: TOP => app:template
Small, reproducible repo:
Setup environment:
- Ruby version: ruby 3.3.2
- Rails version: 7.1.3
Activity