Skip to content

Commit b1d0c5d

Browse files
committed
Support plaintext bun lockfile
1 parent 5813c82 commit b1d0c5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

actioncable/lib/rails/generators/channel/channel_generator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def using_js_runtime?
105105
end
106106

107107
def using_bun?
108-
# Cannot assume bun.lockb has been generated yet so we look for a file known to
108+
# Cannot assume Bun lockfile has been generated yet so we look for a file known to
109109
# be generated by the jsbundling-rails gem
110110
@using_bun ||= using_js_runtime? && root.join("bun.config.js").exist?
111111
end

railties/lib/rails/generators/rails/app/templates/Dockerfile.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ RUN yarn install --frozen-lockfile
6666
<% end -%>
6767
<% if using_bun? -%>
6868
# Install node modules
69-
COPY package.json bun.lockb ./
69+
COPY package.json bun.lock* ./
7070
RUN bun install --frozen-lockfile
7171

7272
<% end -%>

0 commit comments

Comments
 (0)