1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Pulled the gateway.cgi until we can make it work properly out the gates

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1724 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2005-07-06 06:12:43 +00:00
parent 38e78c6260
commit ac380810ec
3 changed files with 6 additions and 8 deletions

View file

@ -2,8 +2,6 @@
* Changed the default logging level in config/environment.rb to INFO for production (so SQL statements won't be logged)
* Added an EXPERIMENTAL gateway.cgi for getting high-speed performance through vanilla CGI using a long-running, DRb-backed server in the background (using script/listener and script/tracker) #1603 [Nicholas Seckar]
* Added migration generator: ./script/generate migration add_system_settings
* Added "migrate" as rake task to execute all the pending migrations from db/migrate

View file

@ -26,7 +26,7 @@ TEST_DIRS = %w( fixtures unit functional mocks mocks/development mocks/test )
LOG_FILES = %w( server.log development.log test.log production.log )
HTML_FILES = %w( 404.html 500.html index.html favicon.ico javascripts/prototype.js javascripts/effects.js javascripts/dragdrop.js javascripts/controls.js )
BIN_FILES = %w( generate destroy breakpointer console server update runner profiler benchmarker listener tracker )
BIN_FILES = %w( generate destroy breakpointer console server update runner profiler benchmarker ) # listener tracker
VENDOR_LIBS = %w( actionpack activerecord actionmailer activesupport actionwebservice railties )
@ -136,8 +136,8 @@ task :copy_dispatches do
copy_with_rewritten_ruby_path("dispatches/dispatch.fcgi", "#{PKG_DESTINATION}/public/dispatch.fcgi")
chmod 0755, "#{PKG_DESTINATION}/public/dispatch.fcgi"
copy_with_rewritten_ruby_path("dispatches/gateway.cgi", "#{PKG_DESTINATION}/public/gateway.cgi")
chmod 0755, "#{PKG_DESTINATION}/public/gateway.cgi"
# copy_with_rewritten_ruby_path("dispatches/gateway.cgi", "#{PKG_DESTINATION}/public/gateway.cgi")
# chmod 0755, "#{PKG_DESTINATION}/public/gateway.cgi"
end
task :copy_html_files do

View file

@ -42,8 +42,8 @@ class AppGenerator < Rails::Generator::Base
m.file "environments/development.rb", "config/environments/development.rb"
m.file "environments/test.rb", "config/environments/test.rb"
# Scripts
%w(console destroy generate server runner benchmarker profiler tracker listener).each do |file|
# Scripts (tracker listener)
%w(console destroy generate server runner benchmarker profiler ).each do |file|
m.file "bin/#{file}", "script/#{file}", script_options
end
if options[:gem]
@ -56,7 +56,7 @@ class AppGenerator < Rails::Generator::Base
m.file "dispatches/dispatch.rb", "public/dispatch.rb", script_options
m.file "dispatches/dispatch.rb", "public/dispatch.cgi", script_options
m.file "dispatches/dispatch.fcgi", "public/dispatch.fcgi", script_options
m.file "dispatches/gateway.cgi", "public/gateway.cgi", script_options
# m.file "dispatches/gateway.cgi", "public/gateway.cgi", script_options
# HTML files
%w(404 500 index).each do |file|