search for: webrick

Displaying 20 results from an estimated 1844 matches for "webrick".

2006 Mar 28
7
Is Ruby stable for production use?
Hi, I realise that Windows is a poor platform and that Webrick is a development, not production, server. However, we have started seeing this crop up when perfectly simple page to page links are invoked... [2006-03-28 08:32:21] ERROR Errno::ECONNABORTED: Software caused connection abort /usr/lib/ruby/1.8/webrick/httpresponse.rb:324:in `write''...
2010 Jul 01
1
Interesting "Bad Certificate" Problem
...Jul/2010:13:27:05 PDT] "GET /production/certificate_revocation_list/ca HTTP/1.1" 200 508 [2010-07-01 13:27:05] - -> /production/certificate_revocation_list/ca [2010-07-01 13:27:05] ERROR OpenSSL::SSL::SSLError: sslv3 alert bad certificate /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:44:in `accept'' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:44:in `listen'' /usr/lib/ruby/1.8/webrick/server.rb:173:in `call'' /usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'' /usr/lib/ruby/1.8/webrick/server.rb:162:in `start'' /us...
2006 Mar 07
4
Edge Rails - same code, different issues on mac and windows
...into different issues on Mac and Windows with the exact same code. It''s similar to the issue posted in the previous RJS/Edge Rails thread, but I didn''t see any answers in there (maybe I missed the real answer?) Both console/error outputs listed below: I can''t even get WEBrick to start on windows (mac to follow): => Booting WEBrick... ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb:7:i n ``'': Exec format error - rake tmp:create (Errno::ENOEXEC) from ./script/../config/../vendor/rails/activesupport/lib/...
2012 Sep 14
2
assistance needed - err: Could not retrieve catalog from remote server: execution expired
..., with a few tweaks for the new version. Puppet on the master built itself fine. I have puppetd stopped on the master. I tried pointing one node at it, but I''m getting: err: Could not retrieve catalog from remote server: execution expired I disabled passenger and ran through the builtin webrick, and confirmed that only one node is talking to the master. No change. No helpful information in the master log. I''m running the master with: /usr/sbin/puppetmasterd --no-daemonize --debug --logdest console --verbose --trace and some relevant puppet.conf portions on the master: storeco...
2010 Mar 18
13
ERROR NoMethodError: private method `gsub!' called
I have just upgraded to Ruby 1.8.7 and Rails 2.2.2. My previous project was at Ruby 1.8.6 and Rails 2.0.2. My platform is Windows and Webrick for development. When I run Webrick, the server starts without error, the application runs, database connections work and I can click through the pages and display data. But it does not serve any stylesheets or javascript files. What''s interesting is that images are displayed. In the l...
2006 Mar 20
1
RJS & IE Woes
...slide_up, ''fork_detail_div'', :duration => 0.75 page.delay (1) do page.replace_html ''fork_detail_div'', '''' end I get an error in WEBRIK [2006-03-21 00:31:08] ERROR Errno::EINVAL: Invalid argument c:/ruby/lib/ruby/1.8/webrick/httprequest.rb:325:in `gets'' c:/ruby/lib/ruby/1.8/webrick/httprequest.rb:325:in `__send__'' c:/ruby/lib/ruby/1.8/webrick/httprequest.rb:325:in `_read_data'' c:/ruby/lib/ruby/1.8/webrick/httprequest.rb:324:in `timeout'' c:/ruby/lib/rub...
2010 Feb 08
5
Error 400 on SERVER: private method `gsub' called for nil:NilClass
Hi all, I''m new to puppet and I can''t seem to figure out how to get rid of this error on the client or to get the recursive copy of files to the client: err: //dev_oracle_dev_tools::install/File[/tmp/oracle_dev_tools]: Failed to generate additional resources using ''eval_generate'': Error 400 on SERVER: private method `gsub'' called for nil:NilClass My
2006 Jul 27
7
cannot get past "Booting WEBrick"
Hi Everyone, I am following the ''Agile Web Dev. with Rails'' book, and I used instant rails to do the install on a Windows machine. Everything seemed to work fine until I got to: Booting WEBrick... After that, nothing happens. I tried creating a new rails application, but I get the same problem. I also tried reinstalling to no avail. Any ideas? Thanks for the help. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rai...
2006 Sep 18
2
Datebocks and EdgeRails
...RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:104:in `require_or_load'' #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:104:in `prepare_application'' #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:39:in `dispatch'' #{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:110:in `handle_dispatch'' #{RAILS_ROOT}/vendor/rails/railties/lib/webrick_server.rb:76:in `service'' c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'' c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'' c:/ruby/lib/ruby/1.8/webrick/server.r...
2005 Mar 02
3
uprgrade to 0.10: uninitialized constant Class::Object
...t this error in the terminal when I started the server: #<NameError: uninitialized constant Class::Object> ["/usr/lib/ruby/gems/1.8/gems/actionpack-1.5.0/lib/action_view/vendor/builder/blankslate.rb:49:in `method_added''", "/usr/lib/ruby/gems/1.8/gems/rails-0.10.0/lib/webrick_server.rb:80:in `define_method''", "/usr/lib/ruby/gems/1.8/gems/rails-0.10.0/lib/webrick_server.rb:80:in `send''", "/usr/lib/ruby/gems/1.8/gems/rails-0.10.0/lib/webrick_server.rb:80:in `handle_dispatch''", "/usr/lib/ruby/gems/1.8/gems/rails-0.10...
2006 Feb 19
5
Memory use: WEBrick vs Apache
Hello, >From purely a memory consumption standpoint, is it generally more efficient to run a simple Rails app using WEBrick alongside a separate apache installation or to run Rails under FCGI and use Apache to bridge to the Web? I have looked through lots of docs and old forum posts. Most seem to center on just getting Apache+Rails running, or on speed. I am really not concerned about my Rails performance, as my ap...
2006 May 03
2
WEBrick initialisation error
...t the best way to get into it would be to follow the ONLamp "Rolling with Ruby on Rails" intro. I followed the instructions to the letter and everything work just great, very impressive:-). A couple of days later when I went back to it I got the following message when trying to start the WEBrick server. U:\RoRProjects\cookbook>ruby script\server => Booting WEBrick... => Rails application started on http://0.0.0.0:3000 => Ctrl-C to shutdown server; call with --help for options [2006-05-03 08:52:40] INFO WEBrick 1.3.1 [2006-05-03 08:52:40] INFO ruby 1.8.4 (2005-12-24) [i386-ms...
2006 Feb 13
3
TypeError
...session_management_support'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/ action_controller/session_management.rb:116:in `process'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb: 117:in `handle_dispatch'' /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/webrick_server.rb: 83:in `service'' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'' /usr/lib/ruby/1.8...
2005 Aug 25
0
multiple refreshs clicks cause errors in WEBrick
Hi all I am new to rails, so I hope it is not a trivial question... I am using rails with webrick and MySql4.1 on win XP. I enter a simple action (with a post method) which fetches some data from a ''users'' table and present it in a rhtml view. Now when I press the refresh button quickly a few times I get in the command line window errors such as this: [2005-08-25 17:08:55]...
2006 Feb 27
15
Webrick in production?
Would you bother to setup a fastcgi for a "intranet accessible" application that is like to get < 100 hits a day? David
2009 Aug 19
11
Rails demo not showing up.
Hi, Can''t get the rails demo to run. I''ve started the webrick server. Here is what the output looks like: ----- [root@chat demo]# ruby script/server => Booting WEBrick => Rails 2.3.3 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2009-08-18 21:29:41] INFO WEBrick 1.3.1 [2009-08-18 21:29:41] IN...
2010 Aug 20
6
Debugging errors with external nodes
...; /usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:101:in `do_find'' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `send'' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/handler.rb:68:in `process'' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick/rest.rb:23:in `service'' /usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'' /usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'' /usr/lib/ruby/site_ruby/1.8/puppet/network/http/webrick.rb:45:in `listen'' /usr/lib/ruby/1.8/webrick/server.rb:173:in `call'...
2006 Mar 28
8
1.1 broke my app
I upgraded to Rails 1.1 (ruby 1.8.2 and ruby 1.8.4 on RHEL 4 using webrick or fastcgi) and all of a sudden I get this hitting a controller: wrong number of arguments (1 for 0) RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controlle...
2006 Mar 18
2
problem with webrick and edge rails
i know i do not really have the right to seek help with edge rails, but i am hoping it is something trivial. quick scenario: $ rails test # create a new project $ svn import # import it into the repo, then go elsewhere, and checkout $ ruby script/server => Booting WEBrick... => Rails application started on http://0.0.0.0:3000 => Ctrl-C to shutdown server; call with --help for options [2006-03-18 07:19:57] INFO WEBrick 1.3.1 [2006-03-18 07:19:57] INFO ruby 1.8.4 (2005-12-24) [i686-linux] [2006-03-18 07:19:57] INFO WEBrick::HTTPServer#start: pid=2676 port=300...
2005 Nov 22
2
Error messages: relative paths seem weakly handled?
...ely to happen again because of the rapid updating of rails, it seems the most sensible way to do it. As a result, I often do /bin/rm -rf csestore and then run my script from another window to repopulate it. So naturally, to save having to cd into csestore, and back out again afterwards I invoked webrick with csestore/script/server I got the following huge list of errors as a result: <quote> MissingSourceFile in <controller not set>#<action not set> No such file to load -- csestore/script/../config/../config/routes.rb RAILS_ROOT: csestore/script/../config/.. Application Tr...