search for: rack

Displaying 20 results from an estimated 1318 matches for "rack".

Did you mean: back
2010 Jun 14
3
How do I upgrade rack in my current rails app?
Hi, I have a rails 2.3.8 app which has rack 1.1.0. I get parse_multipart error. There''s a new release of rack 1.2.0 which might fix the multipart error. The question is how I upgrade the rack? I froze the rails. I did "gem update rack" and it upgraded rack to 1.2.0. But my rails app still uses rack 1.1. How do I set the r...
2011 Aug 12
16
Rack content-length Rack::Lint::LintErrors errors with unicorn
...st, but it only happens very intermittently on GET requests. I''m using Ruby 1.9.2p180. Any ideas on where to start debugging? 204.93.223.151, 10.195.114.81 - - [11/Aug/2011 21:03:50] "GET / HTTP/1.0" 200 37902 0.5316 app error: Content-Length header was 37902, but should be 0 (Rack::Lint::LintError) /mnt/data/tanga/current/bundler/ruby/1.9.1/gems/rack-1.2.3/lib/rack/lint.rb:19:in `assert'' /mnt/data/tanga/current/bundler/ruby/1.9.1/gems/rack-1.2.3/lib/rack/lint.rb:501:in `verify_content_length'' /mnt/data/tanga/current/bundler/ruby/1.9.1/gems/rack-1.2.3/lib/ra...
2009 Mar 29
5
Rack::Lint::LintError with latest camping and rack
I''m trying to use Camping from Magnus'' repo (1.9.300) but running the blog.rb example (or anything for that matter) gives me Rack::Lint::LintError at / Content-Length header was 0, but should be 548 Ruby C:/ruby-1.8.7/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/lint.rb: in assert, line 16 Web GET localhost/ There are no errors on the camping output so I suspect something has changed with Rack. What version of Rack do people...
2010 Nov 16
2
Passenger cannot load Rack
I am getting the following error in my Apache error log when trying to run my puppetmaster as a rack app with Passenger: *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner (no such file to load -- rack) (process 32373): Apache will start up without error, but as soon as a puppet client connects, the error is thrown. Passenger is dying at a "require ''rack'...
2010 Nov 29
4
Error heroku: App Crashed
Hi , i developed a small application(which contails only static pages) . I tried to host that on heroku .just when everything was finished when i opened my site i,e http://floating-moon-89.heroku.com/ i am getting an error as App Crashed..where did it gone wrong? pls help... -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To
2011 Mar 31
3
OT: IBM and Dell rack
Hi all, sorry for the OT. Is IBM and Dell 42U rack compatible in dimension, rails, etc? Can we put IBM servers into Dell rack? Google says it depends. Much appreciated if you can share your experience. http://www.server-racks.com/why-all-racks-are-not-created-equal.html Thank you.
2010 Dec 10
0
Encoding issues when uploading files
Hello everybody, I have some troubles with uploading files in my Rails project. I use Rails 3, Ruby 1.9.2, rack 1.2.1, and both webrick / passenger on apache I was investigating and have isolated the strange behaviour on a simple empty project: view: <% form_tag({:action => ''upload''}, :multipart => true) do %> <%=text_field_tag :desc %> <%=file_field_tag :file...
2010 Jan 11
0
FAILSAFE error when attempting custom POST - How do I fault find for this?
...ing has a problem (it'' multipart, with a file upload + some form parameters) however it''s hard to tell from Rails what it is causing it? /!\ FAILSAFE /!\ Tue Jan 12 08:20:06 +1000 2010 Status: 500 Internal Server Error bad content body /opt/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/utils.rb: 351:in `parse_multipart'' /opt/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/utils.rb: 323:in `loop'' /opt/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/utils.rb: 323:in `parse_multipart'' /opt/local/lib/ruby/gems/1.8/gems/rack-1.0....
2010 Aug 03
2
PDFKit Fork() Function Unimplemented Error - HELP!
.../lib/pdfkit/pdfkit.rb:60:in `to_pdf'' C:/Ruby186/lib/ruby/gems/1.8/gems/pdfkit-0.4.3/lib/pdfkit/middleware.rb:23:in `call'' C:/Ruby186/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/string_coercion.rb:25:in `call'' C:/Ruby186/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/head.rb:9:in `call'' C:/Ruby186/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/methodoverride.rb:24:in `call'' C:/Ruby186/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/action_controller/params_parser.rb:15:in `call'' C:/Ruby186/lib/ruby/gems/1.8/gems/act...
2010 Mar 23
3
NoMethodError in AdminController#index
....rb:28:in `call'' /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/ connection_adapters/abstract/connection_pool.rb:361:in `call'' /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/ string_coercion.rb:25:in `call'' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/head.rb:9:in `call'' /usr/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/methodoverride.rb: 24:in `call'' /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_controller/ params_parser.rb:15:in `call'' /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.5/lib/action_con...
2011 May 21
4
request.format = :mobile causes error "undefined method `ref' for nil:NilClass"
...with setting request.format = :mobile I can reproduce this problem on a completely fresh Rails 3.0.7 app with no special gems. This seemed to work well in Rails 2 but for some reason is hiccuping here, not sure what''s different in Rails 3 that makes this hiccup. If you look at the stack track, it doesn''t even pass through my app stack once -- weird -- maybe this is a problem with Passenger? Anyone see anything i''m doing wrong here? Your tips are much appreciated, this is baffling me. Step-by-step instructions to reproduce: Totally fresh rails app (rails new test_mobi...
2010 Jun 24
8
Passenger barfs.
...ks.cpp:706 time=2010-06-24 10:48:40.476 ]: The backend application (process 7077) did not send a valid HTTP response; instead, it sent nothing at all. It is possible that it has crashed; please check whether there are crashing bugs in this application. *** Exception TypeError in PhusionPassenger::Rack::ApplicationSpawner (can''t convert Array into String) (process 7077): from /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138:in `union'' from /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138 from /usr/lib/ruby/site_ruby/1.8/rubygems/cu...
2009 Apr 22
3
Error on running any controller- Noob question
...8/gems/activerecord-2.3.2/lib/active_record/ query_cache.rb:28:in `call'' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ connection_adapters/abstract/connection_pool.rb:361:in `call'' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ vendor/rack-1.0/rack/head.rb:9:in `call'' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ vendor/rack-1.0/rack/methodoverride.rb:24:in `call'' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ params_parser.rb:15:in `call'' C:/Ruby/lib/ruby/ge...
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
...ract_controller/base.rb:121:in `process'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/abstract_controller/rendering.rb:45:in `process'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_controller/metal.rb:203:in `dispatch'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_controller/metal.rb:246:in `block in action'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:73:in `call'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_dispatch/routing/r...
2012 Apr 24
1
Rails 3 Errno::EAFNOSUPPORT: Address family not supported by protocol - socket(2)
...ract_controller/base.rb:121:in `process'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/abstract_controller/rendering.rb:45:in `process'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_controller/metal.rb:203:in `dispatch'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_controller/metal.rb:246:in `block in action'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:73:in `call'' [GEM_ROOT]/gems/actionpack-3.2.3/lib/action_dispatch/routing/r...
2010 Aug 18
6
undefined method `eq' for nil:NilClass
I''m walking through an example in the "Head First Rails" book, but, instead doing the examples using Rails3.0.0.rc. But, I''m getting this error when browsing for example: http://localhost:3000/advs/1 undefined method `eq'' for nil:NilClass Provided that my advs_controller.rb is as follows: http://pastie.org/private/cd9zntg2ite57ept288kfa Any ideas why
2013 Aug 12
2
Passenger-Rack error 500: no such file to load -- rack
I have a puppetmaster running within passenger+rack. It has been running properly for almost a year and decided to stop working on the weekend. Now I''m getting the Purple "Ruby (Rack) application could not be started" screen with Error: no such file to load -- rack Application: /data1/rack/puppetmaster The backtrace is uninspi...
2010 Jun 15
3
Newbie trying to set up rails with MySQL
.../Ruby186/lib/ruby/gems/1.8/gems/activerecord-2.3.8/lib/ active_record/conne ction_adapters/abstract/connection_pool.rb:361:in `call'' C:/Ruby186/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/ action_controller/str ing_coercion.rb:25:in `call'' C:/Ruby186/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/head.rb:9:in `call'' C:/Ruby186/lib/ruby/gems/1.8/gems/rack-1.1.0/lib/rack/ methodoverride.rb:24:i n `call'' C:/Ruby186/lib/ruby/gems/1.8/gems/actionpack-2.3.8/lib/ action_controller/par ams_parser.rb:15:in `call'' C:/Ruby186/lib/ruby/gems/1.8/gems...
2009 Jun 30
2
First time problem
...ctiverecord-2.3.2/lib/ active_record/query_cache.rb:28:in `call'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/ active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ action_controller/vendor/rack-1.0/rack/head.rb:9:in `call'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ action_controller/vendor/rack-1.0/rack/methodoverride.rb:24:in `call'' c:/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/ action_controller/params_parser.rb:15:in `call'' c:/ruby...
2011 Jun 02
10
Application Error!!!!!!!!!!!!!!!!!!!!!!!
...tom_require.rb:31:in `gem_original_require'' [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'' [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/rack/adapter/rails.rb:42:in `load_application'' [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/thin-1.2.6/lib/rack/adapter/rails.rb:23:in `initialize'' [36m2011-06-02T09:20:20+00:00 app[web.1]:←[0m from /home/heroku_rack/heroku.ru:29:in `new...