Displaying 2 results from an estimated 2 matches for "rails_build".
Did you mean:
rails_builder
2010 Jun 04
8
unicorn_rails cleanup (possible fix for Rails3) pushed
...-109,53 +109,30 @@ end
ru = ARGV[0] || (File.exist?(''config.ru'') ? ''config.ru'' : nil)
-if ru && ru =~ /\.ru\z/
- # parse embedded command-line options in config.ru comments
- /^#\\(.*)/ =~ File.read(ru) and opts.parse!($1.split(/\s+/))
-end
-
-def rails_builder(ru, daemonize)
+def rails_builder(daemonize)
# this lambda won''t run until after forking if preload_app is false
lambda do ||
# Load Rails and (possibly) the private version of Rack it bundles.
begin
require ''config/boot''
+ require ''...
2010 May 28
4
unicorn failing to start
...39;'
from
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/builder.rb:63:in
`map''
from
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/builder.rb:66:in
`map''
from
/usr/local/lib/ruby/gems/1.9.1/gems/unicorn-0.99.0/bin/unicorn_rails:173:in
`block (2 levels) in rails_builder''
from
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/builder.rb:46:in
`instance_eval''
from
/usr/local/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/builder.rb:46:in
`initialize''
from
/usr/local/lib/ruby/gems/1.9.1/gems/unicorn-0.99.0/bin/unicorn_rails:156:in...