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.
60c421971b231beb5a28b9ea458cf812?d=identicon&s=25 Delirium tremens (Guest)
on 2008-10-15 17: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/
Ca0747dde92b376f79acd966eb5ee1a0?d=identicon&s=25 Alejandro Mansilla (Guest)
on 2008-10-15 17:24
(Received via mailing list)
2008/10/15 Delirium tremens <pedbessa@gmail.com>:
>
> 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
D6434aa0b7b350f8c3ed0119d81b2ead?d=identicon&s=25 Roy Pardee (rpardee)
on 2008-10-15 18: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.