Skip to content

webrick to be added Gemfile file dependancies #546

@HanyHeikal

Description

@HanyHeikal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions