read the source.

script/server loads the Rails environment boot file:
  require File.dirname(__FILE__) + '/../config/boot'

then requires a file from the Rails gem:
  require 'commands/server'

locate your rails gem install and read server.rb, should be in
  ruby/lib/gems/1.8/gems/rails-x.x.x/lib/commands/server.rb


On Nov 12, 1:02 pm, mahmoud_cs <[EMAIL PROTECTED]> wrote:
> how ruby script/server exactly work in rails?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to