Delirium tremens wrote:
> Is there a way to avoid having to type "ruby script/server" in "C:\www
> \myrubysite\"?

You mean you want the server to start when windows starts? Just make a 
file start_app.bat like this:

c:
cd \www\myrubysite
ruby script\server

and place it in your system startup folder. Or, you can look at some 
sort of application as service thing: 
http://www.application-as-service.com/ (haven't tested it).

> 
> Is there a way to eliminate ":3000" from " http://localhost:3000/ "?

specify the server to run on port 80: ruby script/server -p 80. Try ruby 
script/server --help

> 
> Is there a way to add '"myrubysite" to " http://localhost/ "?

As a site prefix? IE http://localhost/myrubysite? Or as a host name? IE 
http://myrubysite/

The latter can be done through editing 
C:\Windows\System32\Drivers\Etc\Hosts and adding a line like

127.0.0.1 myrubysite

Then you can reach your app like http://myrubysite

If you were thinking about the context path I'm not sure. Used to be 
this was a real hassle, but I haven't checked in a while, so it might 
have been fixed/made easy.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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