Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webrick to be added Gemfile file dependancies #546

Open
HanyHeikal opened this issue Apr 7, 2024 · 0 comments
Open

webrick to be added Gemfile file dependancies #546

HanyHeikal opened this issue Apr 7, 2024 · 0 comments

Comments

@HanyHeikal
Copy link

I am using Mac Pro M1 Chip
and I had to add this command
$ bundle add webrick
for the server to start

Killbill-docs

$ bundle install
Fetching gem metadata from https://rubygems.org/.......
Resolving dependencies...
Fetching asciidoctor 2.0.22
Fetching pygments.rb 2.4.1
Fetching temple 0.10.3
Fetching tilt 2.3.0
Installing asciidoctor 2.0.22
Installing temple 0.10.3
Installing tilt 2.3.0
Installing pygments.rb 2.4.1
Fetching slim 5.2.1
Installing slim 5.2.1
Bundle complete! 5 Gemfile dependencies, 7 gems now installed.
Use bundle info [gemname] to see where a bundled gem is installed.
$ ruby server.rb
webrick is not part of the default gems since Ruby 3.0.0. Install webrick from RubyGems.
internal:/opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb:127:in require': cannot load such file -- webrick (LoadError) from <internal:/opt/homebrew/Cellar/ruby/3.3.0/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:127:in require'
from server.rb:1:in `

'
$ bundle add webrick
Fetching gem metadata from https://rubygems.org/.......
Resolving dependencies...
Fetching gem metadata from https://rubygems.org/.......
Resolving dependencies...
Fetching webrick 1.8.1
Installing webrick 1.8.1
$ ruby server.rb
[2024-04-06 13:26:51] INFO WEBrick 1.8.1
[2024-04-06 13:26:51] INFO ruby 3.3.0 (2023-12-25) [arm64-darwin23]
[2024-04-06 13:26:51] INFO WEBrick::HTTPServer#start: pid=79137 port=3000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant