similar to: How do I upgrade rack in my current rails app?

Displaying 20 results from an estimated 20000 matches similar to: "How do I upgrade rack in my current rails app?"

2010 Jan 11
0
FAILSAFE error when attempting custom POST - How do I fault find for this?
Hi, I''m creating the file upload code in a C# web form to upload to my Rails app. When I start the upload I get the following error on my Rails server? Any ideas how I can fault find here? It could be the case the HTTP post I''m creating has a problem (it'' multipart, with a file upload + some form parameters) however it''s hard to tell from Rails what it is
2010 Jun 15
3
Newbie trying to set up rails with MySQL
Hello -- Please pardon my newness -- I''m just getting started with rails, and I''m having some difficulty getting it set up with MySQL. I am able to get the basic ruby server running (script\server). When I created a new page (using script/generate controller about index), I am not able to navigate to the new page, and Ruby either crashes or gives me an error: /!\ FAILSAFE /!\
2010 Aug 03
2
PDFKit Fork() Function Unimplemented Error - HELP!
Hello All, We''re working on a project on a Windows machine that will use PDFKit to convert an HTML page to a PDF. I have followed all the instructions at GitHub (http://github.com/jdpace/PDFKit), for installing wkhtmltopdf and PDFKit, then creating the config file in ''config/initializers/pdfkit.rb'' and then finally, setting up Middleware for Rails apps in
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
2010 Feb 04
3
Rails / Rack version mismatch
I attempted to install rails, with these error messages: $ sudo gem install rails ERROR: Error installing rails: actionpack requires rack (~> 1.0.0, runtime) $ sudo gem install rack Successfully installed rack-1.1.0 1 gem installed $ sudo gem install rails ERROR: Error installing rails: actionpack requires rack (~> 1.0.0, runtime) Why does gem install a current version of rack which
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
2010 Sep 03
1
Rack gem in not getting unpacked
Hi All, my server is having rack gems as: rack (1.2.1, 1.1.0, 1.0.1, 1.0.0) when i run the following command in my project/vendor/gems folder: gem unpack rack-1.0.0 It shows the following error message: Error: Gem ''rack-1.0.0'' not installed. Any idea on this?? Thanks, Saurabh -- Posted via http://www.ruby-forum.com/. -- You received this message because you are
2010 Oct 27
2
passenger for both rails 2.3 and 3.0
Hi, I installed ruby 1.8.7 and passenger 3.0 for apache2 on Ubuntu 10.10. Rails 2.3 works fine. But Rails 3.0 gives an error saying that rack version is not 1.2.1. If I upgrade the rack to 1.2.1, then rails 2.3 app complains that the rack version is not ~>1.1.0. How do I satisfy both rails 2.3 and 3.0? Passenger standalone seems to be an option but I want to know if there''s a better
2011 May 18
9
Address already in use - bind(2) (Errno::EADDRINUSE)
I made a new rails app and when i started the server ,it gave following error message. => Booting Mongrel => Rails 2.3.8 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server Exiting /usr/lib/ruby/1.8/mongrel/tcphack.rb:12:in `initialize_without_backlog'': Address already in use - bind(2) (Errno::EADDRINUSE) from
2010 Nov 04
11
Address already in use - bind(2) (Errno::EADDRINUSE)
After trying all things in : http://www.ruby-forum.com/topic/105271 I cannot find the pid of the clogger. So, I am still having trouble clearing whatever is active on my localhost port 3000. I can run on a different port "script/server -p 3001" . But my OC would like to have all ports on my machine clean and usable. Below is my error - please help. Thanks! When I try to start the
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 uninspiring. Snippets include:
2010 Sep 07
1
unicorn_rails and rails 2.3.8
First off, I love unicorn. Thanks to all who have worked on it. For the first time, I am trying to run a rails 2.3 app with unicorn. I don''t understand what is not set correctly. I have rails 2.3.8 and dependencies installed. I am sure it is something simple.... See output below. Much thanks! Matt config/environment.rb ... RAILS_GEM_VERSION = ''2.3.8'' unless defined?
2012 Oct 18
4
Rack env rack.multiprocess true with single worker
Hi, unicorn unconditionally sets rack.multiprocess to true in the Rack environment. The Rack spec [0] says the following about the variable: "true if an equivalent application object may be simultaneously invoked by another process, false otherwise." When unicorn is running with a single worker this does not hold so what do you think about setting the variable to false when only a
2012 May 17
1
Update Rails on Rack documentation
The Rails on Rack documentation is still using the "ActionController::Dispatcher" class but it no longer exists, I can update the documentation, I just wanted to discuss what''s the best way to do it, I''ve tested with "run Rails.application" as well as with "run MyAppName::Application" (just like the generated config.ru file does it), what do you
2010 Apr 26
2
/lib/rack/request.rb in my gem - is this reserved?
Hi! I write a gem at the moment. The Gem need to register during the process in the rack middleware. So I make an folder "rack" inside my "lib" folder. I called the file "request.rb" because it keeps track of requests. So we speaking about the file /lib/rack/request.rb But even if I place an empty file on this, I get the following:
2011 May 24
2
problem with rack versions and puppet-dashboard
I get this error can''t activate rack (~> 1.0.1), already activated rack-1.2.2 It appears that puppet-dashboard uses rack 1.0.1 but passenger 3.0.7 needs to use rack1.2.2 Is there a way around this or make dashboard use rack 1.2.2? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to
2011 Nov 05
3
How to get Rails 3.1's Cache store (FileStore) to work with Rack::Sendfile
Hey - I need your input regarding a problem I''ve come across. I''ll first explain what the problem is, and what I think the solution is. If I misunderstood how things work, please let me know. # The problem I''m using Dragonfly (on-the-fly file processing) to serve images. Dragonfly uses Rack::Cache to cache the processed images so subsequent requests are served by
2008 May 21
32
Rack, Camping 2.0++
=== 1. Camping on Rack === I''ve just finished rewriting Camping to use Rack in the "core". I got rid of (a little less) than 1kB in camping.rb and removed lots of un-necessary files (lib/server/*.rb, fastcgi.rb & mongrel.rb). bin/camping does now only provide WEBrick, Mongrel and console-support and should only be used in development. It uses Rack::ShowExceptions to catch
2011 Jun 02
10
Application Error!!!!!!!!!!!!!!!!!!!!!!!
Hi everybody, Please any one help me, Previous two day''s I am googling, Still not find solution. this really frustrating. I had deploy my app on heroku http://radiationn.heroku.com/. it is working fine on localhost but i got APPLICATION ERROR. IN log wht i find that in photo.rb model not able to find "has_attached_file", I am not able to shout out this proble. It working
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.