-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #262 from loftwah/dl/rails-8-upgrade
Dl/rails 8 upgrade
- Loading branch information
Showing
21 changed files
with
498 additions
and
324 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,2 @@ | ||
#!/usr/bin/env sh | ||
|
||
if ! gem list foreman -i --silent; then | ||
echo "Installing foreman..." | ||
gem install foreman | ||
fi | ||
|
||
# Default to port 3000 if not specified | ||
export PORT="${PORT:-3000}" | ||
|
||
# Let the debug gem allow remote connections, | ||
# but avoid loading until `debugger` is called | ||
export RUBY_DEBUG_OPEN="true" | ||
export RUBY_DEBUG_LAZY="true" | ||
|
||
exec foreman start -f Procfile.dev "$@" | ||
#!/usr/bin/env ruby | ||
exec "./bin/rails", "server", *ARGV |
Oops, something went wrong.