When you create a new rails app the default home page says to rename routes.rb. I tried this, but when I run script/console or script/server I get an error saying the routes.rb file can''t be found. If you rename this file is there an environment variable holding the location elsewhere in the application? -- 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 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 -~----------~----~----~----~------~----~------~--~---
Quincy Ctx wrote:> When you create a new rails app the default home page says to rename > routes.rb. I tried this, but when I run script/console or script/server > I get an error saying the routes.rb file can''t be found. If you rename > this file is there an environment variable holding the location > elsewhere in the application?Read it again. You are expected to edit a line inside routes.rb, and point that to your landing page - the first action of your first controller. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Phlip wrote:> Quincy Ctx wrote: > >> When you create a new rails app the default home page says to rename >> routes.rb. I tried this, but when I run script/console or script/server >> I get an error saying the routes.rb file can''t be found. If you rename >> this file is there an environment variable holding the location >> elsewhere in the application? > > Read it again. You are expected to edit a line inside routes.rb, and > point that > to your landing page - the first action of your first controller.Yes, your right. I read too much into it. -- 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 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 -~----------~----~----~----~------~----~------~--~---