search for: to_app

Displaying 5 results from an estimated 5 matches for "to_app".

Did you mean: no_app
2010 Jun 04
8
unicorn_rails cleanup (possible fix for Rails3) pushed
...require ''unicorn/app/old_rails'' - Unicorn::App::OldRails.new - else - ActionController::Dispatcher.new - end - when /\.ru$/ - raw = File.read(ru) - raw.sub!(/^__END__\n.*/, '''') - eval("Rack::Builder.new {(#{raw}\n)}.to_app", TOPLEVEL_BINDING, ru) + defined?(::Rails::VERSION::STRING) or + abort "Rails::VERSION::STRING not defined by config/{boot,environment}" + # it seems Rails >=2.2 support Rack, but only >=2.3 requires it + old_rails = case ::Rails::VERSION::MAJOR + when 0, 1 th...
2010 May 28
4
unicorn failing to start
...ng'' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/builder.rb:54:in `block in use'' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/builder.rb:73:in `call'' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/builder.rb:73:in `block in to_app'' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/builder.rb:73:in `each'' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/builder.rb:73:in `inject'' from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/builder.rb:73:in `to_app''...
2011 Nov 22
7
rake aborted with ruby on rails
when i run * rake db:create* * * WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use ''require ''rdoc/task'' (in RDoc 2.4.2+)'' instead. at /home/vishnu/.rvm/gems/ruby-1.8.7-p352-D9TI4Ms3gBgeRYYz77F+sQ@public.gmane.org/gems/rake-0.9.2.2/lib/rake/rdoctask.rb DEPRECATION WARNING: Rake tasks in
2013 Sep 20
3
[PATCH] preload_app can take an optional block for warmup
--- lib/unicorn/configurator.rb | 19 ++++++++++++++++--- lib/unicorn/http_server.rb | 3 +++ test/unit/test_configurator.rb | 8 ++++++++ 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/lib/unicorn/configurator.rb b/lib/unicorn/configurator.rb index 0d0eac7..a0ae576 100644 --- a/lib/unicorn/configurator.rb +++ b/lib/unicorn/configurator.rb @@ -441,9 +441,22 @@ class
2010 Oct 30
12
Anyone successfully ran JRuby 1.5.3, Rails 3, Tomcat6
Hi, I''ve been trying to get JRuby 1.5.3 with Rails 3 to run on the Tomcat6 server with little success. Has anyone been able to do this? If so, what issues did you have to overcome to get this to work? Also, is this a combination that you would recommend for a production site, or is it all too new and untested? The latest issue I''m stuck on right now is with the mysql-connector-