Skip to content

Commit 1cc3463

Browse files
authored
Merge pull request #147 from jackorp/fix_sinatra_rb_33
Fix app.rb for Ruby 3.3.
2 parents 01421b3 + 4be33f7 commit 1cc3463

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app.rb

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
set :bind, '0.0.0.0'
66
set :port, 8080
77

8+
set :app_file, __FILE__
9+
810
def configure_database
911
if ENV['RACK_ENV']=="production"
1012
while !self.connect_to_database_prod

0 commit comments

Comments
 (0)