webrick Questions

4

Solved

Our dev envs use HTTP, prod uses HTTPS, this is causing issues that we can't reproduce locally with are HTTPS related. How can I run rails with SSL locally for testing purposes? Is there a Webrick...
Siegler asked 22/12, 2011 at 20:15

21

Solved

When I am starting rails server using rails s command it is showing A server is already running. Check C:/Sites/folder/Pids/Server.pids When I open the file it is outputting a 4 digit number only ...

4

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 /User...
Discriminatory asked 29/1, 2020 at 21:24

4

Solved

I was following the Heroku docs on getting Puma set up and entered this command: bundle exec puma -t 5:5 -p ${PORT:-3000} -e ${RACK_ENV:-development} Which made it so that now I run puma in my d...
Pelaga asked 19/2, 2015 at 3:45

7

Solved

I have written a small rails app to serve up content to another site via xmlhttprequests that will be operating from another domain (it will not be possible to get them running on the same server)....
Navelwort asked 29/3, 2010 at 2:18

5

Last week I tried to debug with SSL activated in webbrick, but I forget how to restore the settings to default(without SSL). Every time I visit a controller, now it shows: SSL connection error ...
Atworth asked 9/5, 2011 at 23:35

3

Solved

Hi I'm not sure if this is supposed to happen, but when I do a RAILS_ENV=production rails server in my terminal and then try to run localhost:3000 it gives me an error: Secure Connection Failed A...
Jovial asked 29/10, 2012 at 17:35

4

Solved

I have Rails 3.2.3 with Apache and Passenger. I have a project working in development mode. When I switch the project to production mode (Passenger standard) it gives me an HTTP Error 500: We'r...
Sibel asked 9/5, 2012 at 9:37

2

Trying to run-up a Rails 4 project I developed 4 years ago, and I'm maintaining since then, I've got the next error that stucks the app on start: machine stack overflow in critical region (fatal...
Saxon asked 21/3, 2019 at 12:10

7

Solved

When I tried to follow the official "Getting Started" Ruby on Rails tutorial, it went wrong very quickly. Basically it said : …navigate to http://localhost:3000. You should see Rails’ de...
Diva asked 25/9, 2009 at 17:59

7

Solved

I have a rails application running on localhost:3000. I wish to access it from another computer on the same network. I feel like i've done this before with ease, but it's giving me some grief. I ca...
Dactylology asked 6/9, 2011 at 20:19

24

I've been struggling with this for some time. I've installed Rails 3, gem, mysql on my Snow Leopard machine. All was going well until I created my first project and tried to run rails server U...
Uzzial asked 28/12, 2010 at 14:17

3

Solved

I currently have: $ rails s => Booting WEBrick => Rails 3.0.9 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2011-11...
Dimetric asked 30/11, 2011 at 21:27

5

Solved

I know that I can start a rails server on another port via -p option. But I'd like to setup another port per application as long as I start webrick. Any ideas? Regards Felix
Parasynapsis asked 7/8, 2013 at 12:24

1

Solved

Hoping someone can tell me what I am missing? This is a ruby app using webrick and I am trying to containerize the app. Running on Mac OSX 10.12.3 Sierra. Here is my Dockerfile FROM ruby:2.4.0-alp...
Breeden asked 31/1, 2017 at 17:47

3

I don't know what I did. I think I updated my Ruby on Rails. After updating it, I always get error when running $rails server. output is ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/utils.rb:73:in `i...
Bedplate asked 11/8, 2011 at 20:0

4

Solved

MBPro:shovell myname$ ruby script/server => Booting WEBrick => Rails 2.3.8 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2010-08-01...
Nawrocki asked 1/8, 2010 at 10:0

5

Solved

It seems like it's taken for granted that you must not use Webrick as production server, but I can't really find anywhere mentioning why. The consensus seems to be: "Webrick is ok for development, ...
Prescriptive asked 2/6, 2012 at 3:55

2

I am running a Middleman (which uses Webrick) server on JRuby inside a JVM process using the org.jruby.embed.ScriptingContainer API. If I shutdown cleanly and stop the server from inside the JVM, ...
Chrysoberyl asked 16/4, 2015 at 15:0

2

I have a Rails App that I want to deploy on SharePoint 2013. In order to achieve some means of authentication, I need the WEBrick server to serve ssl https and listen to incoming https on port ht...
Gable asked 17/1, 2014 at 15:42

1

My operating system is Windows 10 Today I have installed Ruby (ruby 2.2.3p173 (2015-08-18 revision 51636) [x64-mingw32]) and rails gem (rails 4.2.4) I am following a proceedure set out in a serie...
Elide asked 4/11, 2015 at 18:51

1

Solved

I have a very basic webrick server running for the admin pages of an embedded device. We just added basic authentication to the device and it works great, but you get the generic "unauthorized" mes...
Thumbprint asked 15/7, 2015 at 23:38

3

Solved

I run 2 versions on my RoR application on my computer: One is for demos (stable state, RoR 4.0), the other one is for development (RoR 4.2). Both versions can be accessed using http://localhost:300...
Nevsa asked 28/3, 2015 at 14:25

2

Solved

I've just set up my first Jekyll project locally. I've got the server running, but I forgot to use the auto flag. So now I want to stop the server and restart using the flag. However, in my command...
Windpipe asked 9/7, 2013 at 10:28

1

Solved

I am using Vagrant to start a Rails app, everything seems right but then, when I create a test app, run rails s and go to localhost:3000 I get a ERR_EMPTY_RESPONSE and nothing is loaded. I get the ...
Sparker asked 20/8, 2015 at 11:50

© 2022 - 2024 — McMap. All rights reserved.