Permalink
Browse files

Renamed public/dispatch.servlet to script/server -- it wasn't really …

…dispatching anyway as its delegating calls to public/dispatch.rb

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@186 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
dhh committed Dec 16, 2004
1 parent 4fb6ed4 commit b8f8776f0cffc1b73719f16513a5721d77b19186
View
@@ -1,12 +1,14 @@
*CVS*
+* Renamed public/dispatch.servlet to script/server -- it wasn't really dispatching anyway as its delegating calls to public/dispatch.rb
+
* Renamed AbstractApplicationController and abstract_application.rb to ApplicationController and application.rb, so that it will be possible
for the framework to automatically pick up on app/views/layouts/application.rhtml and app/helpers/application.rb
* Added script/envcon that makes it even easier to start an IRB session for interacting with the domain model. Run with no-args to
see help.
-* Added breakpoint support by default to the WEBrick dispatcher. This means that you can break out of execution at any point in
+* Added breakpoint support through the script/breakpointer client. This means that you can break out of execution at any point in
the code, investigate and change the model, AND then resume execution! Example:
class WeblogController < ActionController::Base
@@ -16,8 +18,8 @@
end
end
- So the controller will accept the action, run the first line, then present you with a IRB prompt in the WEBrick window (you shouldn't
- run as daemon when you want to use this). Here you can do things like:
+ So the controller will accept the action, run the first line, then present you with a IRB prompt in the breakpointer window.
+ Here you can do things like:
Executing breakpoint "Breaking out from the list" at .../webrick_server.rb:16 in 'breakpoint'
View
@@ -38,7 +38,7 @@ link:files/vendor/actionpack/README.html.
== Getting started
-1. Run the WEBrick servlet: <tt>ruby public/dispatch.servlet</tt>
+1. Run the WEBrick servlet: <tt>ruby script/server</tt>
(run with --help for options)
2. Go to http://localhost:3000/ and get "Congratulations, you've put Ruby on Rails!"
3. Follow the guidelines on the "Congratulations, you're on Rails!" screen
View
@@ -21,7 +21,7 @@ TEST_DIRS = %w( fixtures unit functional mocks mocks/development mocks/testing
LOG_FILES = %w( apache.log development.log test.log production.log )
HTML_FILES = %w( 404.html 500.html index.html )
-BIN_FILES = %w( generate breakpointer envcon )
+BIN_FILES = %w( generate breakpointer envcon server )
GENERATORS = %w( controller mailer model scaffold )
VENDOR_LIBS = %w( actionpack activerecord actionmailer railties )
@@ -109,8 +109,6 @@ task :copy_dispatches do
cp "dispatches/dispatch.fcgi", "#{PKG_DESTINATION}/public/dispatch.fcgi"
chmod 0755, "#{PKG_DESTINATION}/public/dispatch.fcgi"
- cp "dispatches/dispatch.servlet", "#{PKG_DESTINATION}/public/dispatch.servlet"
-
cp "bin/envcon", "#{PKG_DESTINATION}/script/envcon"
chmod 0755, "#{PKG_DESTINATION}/script/envcon"
end
File renamed without changes.
@@ -9,8 +9,6 @@ RewriteEngine On
# Change extension from .cgi to .fcgi to switch to FCGI and to .rb to switch to mod_ruby
RewriteBase /dispatch.cgi
-RewriteRule ^dispatch.servlet$ / [R]
-
# Enable this rewrite rule to point to the controller/action that should serve root.
# RewriteRule ^$ /controller/action

0 comments on commit b8f8776

Please sign in to comment.