Skip to content

Commit

Permalink
fix-rackup-server
Browse files Browse the repository at this point in the history
  • Loading branch information
awatrelotwoop committed Feb 7, 2024
1 parent 6016d26 commit fd78148
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ source 'https://rubygems.org'
ruby '~> 2.7.0'

gem 'rack'
gem 'rackup'
gem 'rake'
gem 'puma'
gem 'rack-cors'
Expand Down
5 changes: 5 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ GEM
rack (>= 3.0.0)
rack-test (2.1.0)
rack (>= 1.3)
rackup (2.1.0)
rack (>= 3)
webrick (~> 1.8)
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
Expand Down Expand Up @@ -197,6 +200,7 @@ GEM
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.5.0)
webrick (1.8.1)
zeitwerk (2.6.13)

PLATFORMS
Expand Down Expand Up @@ -224,6 +228,7 @@ DEPENDENCIES
rack-cors
rack-server-pages
rack-test
rackup
rake
redis-activesupport
rest-client
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Access it at http://localhost:8558


```
bundle exec rackup [-p 8558]
bundle exec rackup -p 8558
```

## Building images (dev/test only)
Expand Down
1 change: 0 additions & 1 deletion server.ru
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ use Rack::Cors do
end
end

#\ -p 8558
run Api::Root

use Rack::Config do |env|
Expand Down

0 comments on commit fd78148

Please sign in to comment.