This feature adds the devcontainer dependencies needed for a Rails app using Bun.
The devcontainer created when currently running rails new -j bun test runs into the following error
bin/setup:7:in `system': No such file or directory - bun (Errno::ENOENT)
from bin/setup:7:in `system!'
from bin/setup:19:in `block in <main>'
from /home/vscode/.rbenv/versions/3.3.6/lib/ruby/3.3.0/fileutils.rb:240:in `chdir'
from /home/vscode/.rbenv/versions/3.3.6/lib/ruby/3.3.0/fileutils.rb:240:in `cd'
from bin/setup:10:in `<main>'
There are a few bun features maintained by individuals but none I can find maintained by any organizations so I felt it best to create one in the rails set to ensure reliability.
This feature adds the devcontainer dependencies needed for a Rails app using Bun.
The devcontainer created when currently running
rails new -j bun test
runs into the following errorThere are a few bun features maintained by individuals but none I can find maintained by any organizations so I felt it best to create one in the rails set to ensure reliability.
A PR adding this to https://github.com/rails/rails/blob/main/railties/lib/rails/generators/rails/devcontainer/devcontainer_generator.rb will follow.