Skip to main content
1 vote
1 answer
81 views

I'm building a small application using WEBrick. It's working nicely. However, it uses up a port. I'd rather implement it as a unix socket, but I have no idea how. I'm using WEBrick version 1.8.1 and ...
tscheingeld's user avatar
1 vote
1 answer
249 views

Jekyll had been working fine for me about 50 times live-reloading. However, now, each time I want to use live-reload option it throws this error once and once again, many times: $ jekyll serve -l ...
Chiara Ani's user avatar
  • 1,135
0 votes
0 answers
66 views

The rails application I work on makes many 3rd party requests to get data. This often makes the development server slow because those requests takes a while to resolve and they block the other ...
Praveen Kumar's user avatar
0 votes
0 answers
89 views

I cannot make WEBrick display an XHTML page and its associated CSS - the exact same file with an 'html' extension works perfectly, but it fails with an 'xhtml' extension. How can I configure WEBrick ...
ExpatSailor's user avatar
0 votes
0 answers
100 views

I have a very simply ruby script to Serve the file system from one computer over the local host to my other PCs. I want MP4s to be watchable directly in the browser window. I've added the mime_type ...
Sancarn's user avatar
  • 2,934
4 votes
2 answers
3k views

New ubuntu-20 system with the following: ruby 3.0.4 rails 6.1.4 redmine 5.0.0 After install, trying to start webrick test server: bundle exec rails server webrick -e redmine_test fails with: /...
Gary Aitken's user avatar
2 votes
0 answers
375 views

How to make Redirect in WEBRICK Ruby, can the simplest example with the syntax? In this example require 'webrick' class MyServlet < WEBrick::HTTPServlet::AbstractServlet def do_GET (...
user83828's user avatar
1 vote
1 answer
375 views

How can I use Ruby Webrick to do html content modification as it passes through a proxy server? require 'webrick' require 'webrick/httpproxy' handler = proc do |req, res| # if the_site_url == "...
springworks00's user avatar
0 votes
1 answer
36 views

I got into the app directory inside the blog folder and ran a command to start the WEBRick server: rails server -b $IP -p $PORT CODE CONSOLE IMAGE Above is the link for the image of my console. ...
RishitPanchal's user avatar
1 vote
1 answer
1k views

Start situation: Installed Linux Ubuntu operating system and Ruby via apt installer. After that installed WEBrick Ruby server via gem packgake handler. Applications with version numbers: Linux ...
andersville's user avatar
0 votes
1 answer
94 views

Update: Check my answer below. I just realized that in Jekyll Webrick server, directories starting with underscores(_includes, _layouts etc.) can't be accessed and are not listed when jekyll serve --...
log101's user avatar
  • 17
0 votes
2 answers
457 views

I'm running RedMine via WEBrick using the following command line (simplified): bundle exec rails server webrick -e production -p 3012 -P '/var/lib/redmine/redmine.pid' I don't like how WEBrick ...
pvgoran's user avatar
  • 460
1 vote
0 answers
131 views

I am developing a static site locally. To view it in a browser, I run this command ruby -run -ehttpd . -p8000 to run a local webserver at localhost:8000. Starting yesterday, when I run it, I get the ...
McNulty's user avatar
  • 394
0 votes
1 answer
189 views

We can use Ruby and WEBrick to start a local web server, just by ruby -run -e httpd -- -p 8080 . I have seen some iPhone / iPad app being able to add a hostname of http://awesome.local:1234 on the ...
nonopolarity's user avatar
11 votes
4 answers
4k views

I'm getting the following error in my console logs when running the bundle exec jekyll command. [2020-01-29 15:34:01] ERROR Errno::ECONNRESET: Connection reset by peer @ io_fillbuf - fd:16 /...
Andres Urdaneta's user avatar

15 30 50 per page
1
2 3 4 5
35