Delirium tremens
2008-Oct-15 15:11 UTC
avoiding "ruby script/server" and eliminating ":3000"
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/ --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Alejandro Mansilla
2008-Oct-15 15:19 UTC
Re: avoiding "ruby script/server" and eliminating ":3000"
2008/10/15 Delirium tremens <pedbessa-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> > 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 --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Pardee, Roy
2008-Oct-15 16:09 UTC
Re: avoiding "ruby script/server" and eliminating ":3000"
Create an alias like so in your .bash_profile or wherever: alias rss=''ruby script/server --port:80'' HTH, -Roy -----Original Message----- From: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails-talk@googlegroups.com] On Behalf Of Alejandro Mansilla Sent: Wednesday, October 15, 2008 8:19 AM To: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Subject: [Rails] Re: avoiding "ruby script/server" and eliminating ":3000" 2008/10/15 Delirium tremens <pedbessa-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> > 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 --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---