You are here: Home > Latest news from Darcs > Some systems will not have a ruby1.8 binary

Revision 20080312032955-49d33-6be08a...

Some systems will not have a ruby1.8 binary

public/dispatch.cgi
public/dispatch.fcgi
public/dispatch.rb

Changes to dispatch.cgi

1
#!/usr/bin/env ruby1.8
#!/usr/bin/env ruby
1
2
2
3
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
3
4
4

Changes to dispatch.fcgi

1
#!/usr/bin/env ruby1.8
#!/usr/bin/env ruby
1
2
#
#
2
3
# You may specify the path to the FastCGI crash log (a log of unhandled
# You may specify the path to the FastCGI crash log (a log of unhandled
3
4
# exceptions which forced the FastCGI instance to exit, great for debugging)
# exceptions which forced the FastCGI instance to exit, great for debugging)
4

Changes to dispatch.rb

1
#!/usr/bin/env ruby1.8
#!/usr/bin/env ruby
1
2
2
3
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT)
3
4
4