Forum: Ruby on Rails avoiding "ruby script/server" and eliminating ":3000"

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Delirium tremens (Guest)
on 2008-10-15 19:11
(Received via mailing list)
Is there a way to avoid having to type ruby script/server to test my
site?

Is there a way to eliminate :3000 from http://localhost:3000/
Alejandro Mansilla (Guest)
on 2008-10-15 19:24
(Received via mailing list)
2008/10/15 Delirium tremens <removed_email_address@domain.invalid>:
>
> Is there a way to avoid having to type ruby script/server to test my
> site?

U can use Phusion Passenger to run in development instead of Webrick or
Mongrel.
Using the "RailsEnv" statement pointing to  development in the virtual
host definition.

cheers
Roy P. (Guest)
on 2008-10-15 20:20
(Received via mailing list)
Create an alias like so in your .bash_profile or wherever:

  alias rss='ruby script/server --port:80'

HTH,

-Roy
This topic is locked and can not be replied to.