Skip to content

Commit 05ed09d

Browse files
authored
Merge pull request #64 from blocknotes/update-extra
Update extra content
2 parents f0259f0 + d144a46 commit 05ed09d

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

extra/hanami_app/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
up:
2+
rackup

extra/rails_app/app.rb

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
gemfile(true) do
88
source 'https://rubygems.org'
99

10-
gem 'rails', '~> 7'
10+
gem 'rackup'
11+
gem 'rails'
12+
gem 'webrick'
13+
1114
gem 'tiny_admin', path: '../../'
1215
end
1316

@@ -29,4 +32,4 @@ class RailsApp < Rails::Application
2932

3033
RailsApp.initialize!
3134

32-
Rack::Server.new(app: RailsApp, Port: 3000).start if __FILE__ == $PROGRAM_NAME
35+
Rackup::Server.new(app: RailsApp, Port: 3000).start if __FILE__ == $PROGRAM_NAME

extra/roda_app/app.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
gem 'rackup'
1111
gem 'roda'
12+
gem 'webrick'
13+
1214
gem 'tiny_admin', path: '../../'
1315
end
1416

extra/standalone_app/app.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
source 'https://rubygems.org'
99

1010
gem 'rackup'
11+
gem 'webrick'
1112

1213
gem 'tiny_admin', path: '../../'
1314
end

0 commit comments

Comments
 (0)