webrick Questions
5
Solved
When I try to start a server via rails s, I get the following error message:
C:\Users\Frankie\Documents\stocktracker>rails s
=> Booting WEBrick
=> Rails 3.2.8 application starting in deve...
Prolocutor asked 9/1, 2013 at 18:46
1
I'm trying to use subdomains locally for a Rails app so I added the following line to my /etc/hosts file:
# add 'test' subdomain for localhost
127.0.0.1 test.localhost
Now I can point my browser...
Faydra asked 19/8, 2014 at 16:54
2
Solved
This is the error message in Windows:
C:\Users\USER\Sites\new_cms>rails s
C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/nokogiri-1.6.6.2-x64-mingw32/lib/nokogir
.rb:29:in `require': cannot load such ...
Dresser asked 18/3, 2015 at 11:20
9
Solved
Since upgrading to Rails 3.1 I'm seeing this warning message in my development log:
WARN Could not determine content-length of response body. Set content-length of the response or set Response#c...
Reins asked 16/8, 2011 at 17:28
12
I have a Rails application that I'm running on my server. When I go to a remote desktop and attempt to load the application, the server takes a good 3-4 minutes to respond with a simple HTML page. ...
Ideogram asked 21/7, 2009 at 0:46
3
Solved
i'm trying to set up a server for integration tests (specs actually) via ruby and can't figure out how to control the process.
so, what i'm trying to do is:
run a rake task for my gem that execu...
3
Solved
Each time I make changes to code I have to restart the server or it won't change the output.
I have tried using thin and webrick.
My development.rb file says "config.cache_classes = false".
I am...
Unfinished asked 31/12, 2012 at 15:6
1
I'm getting a 500 server error in my new rails app.
The weird thing is that if you restart the rails server (I'm using the default webrick), the first request after reload is perfectly fine. Every...
Hexagonal asked 27/12, 2013 at 6:26
4
Solved
I've recently found that some people prefer using unicorn_rails instead of the default WEBrick as a web server for developing Rails applications.
I understand that if I wanted to use unicorn in p...
Ovid asked 27/3, 2012 at 13:32
2
Prior to Rails 3, you could modify the script/server file to add in SSL parameters and tell the server command to use the HTTPS version of WEBrick. Now that all of those scripts are gone, does anyo...
Lunarian asked 4/9, 2010 at 5:6
4
Solved
I have a ruby(using sinatra) webservice on windows 7 32 bit OS. Its running on port 4567.
Its working fine when I use localhost:4567 but when I replace localhost with the local ip of my machine say...
Aculeus asked 30/5, 2013 at 9:28
1
Solved
I want to develop my Ruby on Rails application locally with SSL/HTTPS, but I'm having trouble trying to setup a server to use SSL. The following are the things I've already tried so far:
rails serv...
Hemolysis asked 4/3, 2014 at 7:44
1
Solved
I've got a rails development environment running in DigitalOcean on Ubuntu 12.04, but my WEBrick process keeps getting "killed" after a couple of hours. I haven't been able to find any settings or ...
Ohara asked 5/1, 2014 at 9:22
3
I'm currently developing a web-app, and I alternate between Windows and Mac dev machines for this.
My problem is that pages render extremely slowly on Windows, but it's not my Ruby code running sl...
Chastise asked 28/11, 2013 at 13:24
4
Solved
When I use rails/server (WEBrick) I get constant debug info (queries, etc) from my rails app as console output. Is there a way to get this debug output with Pow?
Thanks
Contented asked 8/8, 2011 at 4:54
2
Solved
I intend to replace WEBrick by Thin on a Rails 3.2 project because WEBrick handles malformed unescaped URIs badly (bad URI error). I know there are config hacks to make WEBrick handle unescaped URI...
Osteitis asked 8/2, 2013 at 17:57
2
Solved
Looking at the logs, my cedar app currently runs webrick. Obviously, this is not the best choice for production app.
As noted all over the web, I should use Thin webserver.
But I would still like...
Lille asked 24/12, 2011 at 16:16
3
Solved
I have created a new rails project with the command:
rails project_name
but now in that project if I run:
rails server
I just creates a new project call server, it doesn't start webrick.
How...
Alcock asked 15/12, 2010 at 21:56
2
Solved
I'm creating a Sinatra app that takes an uploaded CSV file and puts its contents in a hash. When I reference this hash in my app.rb like so:
hash = extract_values(path_to_filename)
I keep g...
1
Solved
Just starting to get into RoR development and I am struggling with getting the Webrick server to start. I am in my rails project's folder. Then I enter rails server or rails s and it looks like the...
Guillemot asked 7/6, 2013 at 20:17
2
Solved
After using jekyll serve on one machine, a WEBrick server is set up and the site can be accessed from localhost:4000 on this particular PC.
However, I'm wondering how to access this web server fro...
4
Solved
I cannot test my website in production mode using WebRick, as it is raising cache errors. In development and testing modes everything works perfectly.
I have set this option in config/environments...
Brynhild asked 31/1, 2012 at 18:54
2
Solved
Could you please recommend a fix?
Remedies I have tried based on other SE questions:
run bundle install
run gem cleanup
run bundle exec rails server
run sudo ln -s /usr/local/mysql/lib/libmysqlc...
Dip asked 29/4, 2013 at 16:43
1
Solved
I am running a Sinatra application locally.
Ever since I installed Thin, my Sinatra app always uses it as the web server. However, I have been having performance issues with Thin serving the large...
1
Solved
I have the following code, where a WEBrick instance is forked, and I want to wait till the webrick is started up, before continuing with the rest of the code:
require 'webrick'
pid = fork do
ser...
© 2022 - 2024 — McMap. All rights reserved.