Displaying 20 results from an estimated 30000 matches similar to: "How do you run WEBrick under Rails 2.x?"
2008 Jan 11
26
Mongrel doesn''t start under Rails 2.0.2/Win XP
All,
Mongrel 1.1.3
Rails 2.0.2
Ruby 1.8.6
Windows XP SP2
When I issue the command "ruby script/server" from any of my Rails
projects on v. 2.0.2, I get a Windows dialog with the error:
"The application has failed to start because MSVCR80.dll was not found.
Re-installing the application may fix this problem."
I''ve gone through the process of attempting to introduce
2006 Sep 25
2
Managing requests for static content in WEBrick and Mongrel
All,
Is there a way to set things up so that requests for static files in
either WEBrick or Mongrel will just cause a regular HTTP request and not
cause the dynamic routing-based invocation to occur?
I had an issue where a request for a missing .js file was causing
another request to be registered, thus blowing away my flash data.
I tried to do this in my routing file, but I don''t
2006 May 30
5
Implementing HTTPS with WEBrick?
All,
I would like to test some secure pages that I''m developing in my
WEBrick-based development environment.
I''ve done some research and it appears that I need to create a new
command that will start a HTTPS based WEBrick server. Is this correct?
Also, it appears that the https.rb module is not included with the
WEBrick bundled in Rails. So, I will need to go get that
2006 Mar 21
3
Do module source code changes require reboot of WEBrick?
Assume that I refactor some code into a module and "require it into" my
controller.
Do I then need to restart my WEBrick server each time that I change the
module?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2006 Dec 08
5
WEBrick development environment not reloading views in Windows
I recently RoR on a machine running Windows 2003 server. When I fire
WEBrick using the development environment, it does not reload the app
with changed views. I have to shut down WEBrick and restart it to see
the changes. Has anyone else had this problem?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on
2008 Dec 17
9
Rails 2.2.2 and globalize - undefined method `render_file' for class `ActionView::Base' (NameError)
Looks like globalize (1.2) is not compatible with rails 2.2.2. I am
getting:
''
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
=> Rails 2.2.2 application starting on http://0.0.0.0:3003
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3003
** Starting Rails with development environment...
2008 Nov 30
12
How to go back to using webrick default server
Hi,
I''ve installed mongrel to check it out and want to go back to using
webrick as default when i type server/script to run my server. How can I
do this? I know that I can just type server/script webrick but i''d
prefer to have it as default.
Thanks
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because
2007 Mar 15
2
WEBrick freezes overnight
Each morning when I return to work, I find that my WEBrick server has
stopped working. The process is still running, but when I try to
connect to it with a web browser, the browser doesn''t get any response
back. Usually when this happens I cannot control-c the process to
shut it down, and not even "kill" works-- I have to get rid of it with
kill -9. I then restart it and it
2006 Mar 14
5
Maddening library loading problem
Hi everyone.
I recently wrote a nice module that I want to use in my rails app. It
consists of a few files in a directory that I have places in the lib
directory. It looks like this:
/lib/KMLTools/foo.rb, bar.rb, baz.rb
Some of these files load each other and I finally got those to work by
using the File.dirname(__FILE__) trick. When I simply require the file
into my controller, everything is
2007 Oct 12
7
webrick 500 error
Hi,
This is my second question on the poor performance of webrick
(previously I had a problem with Ajax).
I have a somewhat simple Rails application which works just fine, but
when I come back to work the next day, the server responds with error
500. It looks like if it is running more than 12 hours, it''ll crap-out.
I don''t use CVS (which I read on the web it is a common cause
2006 Mar 07
1
How does the ActionController class get loaded/accessed?
I am trying to access the Upload Progress feature in Action_Controller.
When I add
Action_Controller::Base.enable_upload_progress
to my environment.rb file, and restart WEBrick, I get the following
error:
C:\eclipse\workspace\eSimplyOnlineRails>ruby script/server
=> Booting WEBrick...
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/
dependencies.rb:195:in
2007 May 02
2
Routing to a static resource in Mongrel
All,
I would like to set up a route that causes a static "index.html" file
(in the "public" directory) to be served on a request to an empty URL
path (i.e. map.connect '''', ...).
Can I do that with Mongrel? Basically, I want the ability to do in
Mongrel what I will end up doing in Apache with a rewrite directive.
Thanks,
Wes
--
Posted via
2006 Mar 22
2
RubyGem loading into a controller (High quality question)
INSTALLATION:
Ruby 1.8.2
Rails 1.0.0
rubyful_soup 1.0.4 (GEM)
FACTS:
0) I have successfully installed the rubyful_soup GEM using (I had
previously installed it, which is why the output may look sparse):
C:\ruby>gem install -r rubyful_soup
Attempting remote installation of ''rubyful_soup''
Successfully installed rubyful_soup-1.0.4
Installing RDoc documentation for
2007 Dec 15
1
script/server hangs webrick and mongrel
When I script/server, both webrick and mongrel hang until I ctrl-c.
If I''m using webrick, it will start normally, but if I''m using mongrel
it will appear to start and then hang again. Any idea why this
behavior?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To
2006 Sep 06
1
WEBrick mime-type configuration
Does anyone know how I can get at the guts of how WEBrick handles
mime-types?
I have a suspicion that it is returning an incorrect mime-type in a
response.
Wes
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group,
2008 Jul 21
2
webrick needs 80 seconds for starting
ruby script/console webrick
after 23 seconds:
=> Booting WEBrick...
after 78 seconds:
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2008-07-21 08:07:17] INFO WEBrick 1.3.1
[2008-07-21 08:07:17] INFO ruby 1.8.6 (2007-09-24) [i386-mswin32]
[2008-07-21 08:07:17] INFO WEBrick::HTTPServer#start: pid=4664
port=3000
2008 Jun 19
4
Why can't I access Webrick web server from other computers?
Hi everyone,
I have a rails project running on Ubuntu. When I ran it on localhost
http://localhost:3000, it worked perfectly. But when I tried to access
from other computers in the same network by either http://hostname:3000
or http://[ipaddress]:3000, I got a "Internet Explorer cannot display
the webpage" error.
I double checked my ubuntu with iptables, no rules are defined:
iptables
2007 Dec 04
37
Can`t connect to MySQL Database with Netbeans 6 for RoR ?
Hello,
I am just yes fighting is the right word through the Netbeans 6.0 for
RoR guidance:
[quote]1.gem install mysql
2.Choose the win32 build.
3.Install MySQL and put its /bin directory on your path.[/quote]
did the first 2 steps but what means step 3 ???
Your path? What is my path and which path?
The connection to the MySQL database is also not working, why? what do
i wrong? Please help :)
2006 Jul 18
5
Installing ROR/Webrick app on Windows 2000/2003 Server
Hi all,
I am currently not able to use search since it is disabled, so I will
ask my question and hope I am not repeating a past question.
I am looking into developing an app to run in Windows 2000/2003 Server
environment. To install ROR on a server to run an app on Webrick do I
need any extra steps beyond those needed to install on my development
laptop (XP prof) ?
The idea is to run the
2006 Aug 06
3
Bug or feature: WEBrick threading (vs script/console thread)
I don''t know whether this is a bug or feature, and I don''t know whether
this belongs to Gmailer (http://rubyforge.org/projects/gmailutils) in
specific or Rails/Ruby in general.
I have an instance method in an ActiveRecord model, that upon a web
request using WEBrick, spawns off a thread, in which it invokes Gmailer
to perform some processing. What fails is that simply