webrick Questions
5
Solved
I am using OmniAuth to allow users to log in with their Google OpenID accounts. When I try to log in in development mode with WEBrick, I get a WEBrick::HTTPStatus::RequestURITooLarge error. When I ...
Hanoi asked 7/2, 2011 at 21:21
2
Solved
I am trying to get my webrick serve in port 80. I tried:
rails server -p 80
but get a access denied. I later understood that using port 1-1024 needs a root permission, so I tried this instead
s...
Elwoodelwyn asked 30/4, 2011 at 8:39
1
So I've got a simple Sinatra site:
# app.rb
require 'sinatra'
get '/' do
'Hello world!'
end
And I can set up rack to serve it over HTTP:
# config.ru
require './app'
run Sinatra::Applica...
2
I am doing some simple css edits on a rails 3.2 project and my changes will not show up unless I restart webrick.
I came across something saying that it may be using the public/assets directory, ...
Spirograph asked 28/1, 2013 at 10:4
5
Solved
I have a Rails app hosted on a server machine (running Webrick). When I log onto this machine and access the app (via localhost:3000), the app runs smoothly. But when I try to access the app from a...
Mossbunker asked 12/4, 2011 at 20:51
4
Solved
I am a PHP developer who has started learning Ruby on Rails. I love how easy it is to get up and running developing Rails applications. One of the things I love most is WEBrick. It makes it so you ...
4
Solved
I've been starting Thin with thin -V start in development.
However, I would like Thin to be the default instead of WEBrick and to be able to start it with rails s.
Is there a way to set Thin as ...
Auger asked 12/8, 2011 at 23:49
5
I installed Ruby on Rails on my mac today along with Gems and MYsql. I'm trying to follow the lynda.com tutorial and I've run into a brick wall. When I try to run the rails server it doesnt load WE...
Lover asked 19/3, 2011 at 5:30
1
Solved
I want to set the default port when I do
rails s
to 3010, instead of having to say:
rails s -p 3010
...every time. Any ideas?
Detumescence asked 20/5, 2012 at 19:53
1
Solved
I try to run 2.x application. I use rvm and set for this application other version of ruby:
$ rvm use ree-1.8.7-head
I try to run server and then i get a lot of errors:
$ script/server
NOTE: ...
Mothy asked 4/5, 2012 at 7:28
2
Solved
I am currently using the following options in my Rails app to enable HTTPS with WEBrick:
{
:Port => 3000,
:environment => (ENV['RAILS_ENV'] || "development").dup,
:daemonize => false,
...
Boarder asked 11/1, 2012 at 19:56
1
Solved
What is the difference between using Phusion Passenger or just using WEBrick (e.g., rails s) in terms of a production environment?
I understand that Phusion Passenger installs a module on either A...
Hereabouts asked 15/4, 2012 at 12:18
1
Solved
I'm using webrick to develop my rails app on Mac OS X Lion. I'm trying to access the site from another computer (for testing). The internal IP of my computer is 10.1.10.100.
Accessing 10.1.10.100 ...
Germinative asked 9/4, 2012 at 19:15
1
Solved
The only difference I've noted is that rails server starts the server on port 3000, while rackup starts the server on port 9292.
Are there any other differences?
Are there use cases for one inste...
Glomerulus asked 21/2, 2012 at 18:51
2
Solved
I want to write a quick server app in Sinatra. It has to be self-contained (i.e. not use apache/nginx/passenger) but also has to support SSL.
Is there an easy way to enable SSL support for Sinatr...
3
Solved
I have been having an issue with missing instances and nilClass errors when calling my routes. After delving around within the source it seems like the generate_method call basically creates a new ...
4
Solved
When a new http request comes in, will a new instance of sinatra be started, e.g. has sinatra to be initialized, or is just the method of a previous instance (the corresponding get/post method/rout...
4
Solved
I have a rails app that I enjoy developing on a sever much more than locally, slow computer, the problem is even though on the server the development environment is great I need a way to look at th...
Boyd asked 15/11, 2011 at 20:9
1
Solved
I am having a strange issue running my static website locally (for testing).
Both WEBrick and Unicorn are causing an assertion failure in Rack when navigating to root. However Thin works
perfectly....
2
[2011-09-11 06:14:12] INFO WEBrick::HTTPServer#start: pid=32723 port=3000
How to start WEBrick in a different port than 3000, is there a way to specify this information in a config file instead o...
Surcease asked 12/9, 2011 at 9:55
2
Solved
I know I'm going to deploy to an environment with my application running with a base URL which looks like this:
http://someserver/mydepartment/myapp
My development environment is set up to use t...
Bullington asked 5/4, 2011 at 21:41
1
Solved
2
Solved
When I start my app up in RubyMine I want to be able to use unicorn and my unicorn configs. Is there any way to tell it not to use webrick but use something else like unicorn or thin?
1
Solved
How can I do the same authentication stuff in this page using a subclass like this:
class Configuration < HTTPServlet::AbstractServlet
def do_GET (request, response)
SOMETHING....
end
end
...
Norman asked 6/8, 2009 at 11:19
© 2022 - 2024 — McMap. All rights reserved.