Skip to content

Commit

Permalink
Updated jsbundling-rails gem v1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
taketo1113 committed Sep 15, 2023
1 parent d7b70cd commit 5534029
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ GEM
jbuilder (2.11.5)
actionview (>= 5.0.0)
activesupport (>= 5.0.0)
jsbundling-rails (1.1.2)
jsbundling-rails (1.2.1)
railties (>= 6.0.0)
json_schema (0.21.0)
loofah (2.21.3)
Expand Down Expand Up @@ -257,7 +257,7 @@ GEM
stringio (3.0.8)
temple (0.10.2)
thor (1.2.2)
tilt (2.2.0)
tilt (2.3.0)
timeout (0.4.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
Expand Down
2 changes: 1 addition & 1 deletion Procfile.dev
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
web: unset PORT && env RUBY_DEBUG_OPEN=true bin/rails server
web: env RUBY_DEBUG_OPEN=true bin/rails server
js: yarn build --watch
10 changes: 6 additions & 4 deletions bin/dev
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/usr/bin/env bash
#!/usr/bin/env sh

if ! foreman version &> /dev/null
then
if ! gem list foreman -i --silent; then
echo "Installing foreman..."
gem install foreman
fi

foreman start -f Procfile.dev "$@"
# Default to port 3000 if not specified
export PORT="${PORT:-3000}"

exec foreman start -f Procfile.dev "$@"

0 comments on commit 5534029

Please sign in to comment.