Running Ruby 1.8.2 on Mac OS X 10.3.7. I had been working on a small app based on the To Do tutorial and, since I''m just playing around, I installed tonight''s Rails update. Now I get a 404 error when browsing to my app''s top level. I''m using the built-in WEBrick server, started from within my app directory with "ruby script/server", which had been working fine up to now. The change notes include this: "Fixed WEBrick server to use ABSOLUTE_RAILS_ROOT instead of working_directory". Could that have something to do with the problem? Thanks! Tom ------------------------------------------------------------------------ -- Tom Donovan Hawthorn School District 73 Mgr. of Tech. Systems, Webmaster Vernon Hills, IL ------------------------------------------------------------------------ --
I solved my problem by creating a new rails app and moving my various files into the corresponding directories in the new one. Tom On Mar 6, 2005, at 10:52 PM, Tom Donovan wrote:> Running Ruby 1.8.2 on Mac OS X 10.3.7. > > I had been working on a small app based on the To Do tutorial and, > since I''m just playing around, I installed tonight''s Rails update. Now > I get a 404 error when browsing to my app''s top level. I''m using the > built-in WEBrick server, started from within my app directory with > "ruby script/server", which had been working fine up to now. > > The change notes include this: "Fixed WEBrick server to use > ABSOLUTE_RAILS_ROOT instead of working_directory". Could that have > something to do with the problem? > > Thanks! > > Tom >
Correct me if I am wrong but I think that you can just do rails /. in your project directory. Just make sure you say no when asked if you want to upgrade for application specific files like application.rb, database.yml, routes.rb, etc and except the change for rails specific stuff like .htacces. Tom Donovan wrote:> I solved my problem by creating a new rails app and moving my various > files into the corresponding directories in the new one. > > Tom > > On Mar 6, 2005, at 10:52 PM, Tom Donovan wrote: > >> Running Ruby 1.8.2 on Mac OS X 10.3.7. >> >> I had been working on a small app based on the To Do tutorial and, >> since I''m just playing around, I installed tonight''s Rails update. >> Now I get a 404 error when browsing to my app''s top level. I''m using >> the built-in WEBrick server, started from within my app directory >> with "ruby script/server", which had been working fine up to now. >> >> The change notes include this: "Fixed WEBrick server to use >> ABSOLUTE_RAILS_ROOT instead of working_directory". Could that have >> something to do with the problem? >> >> Thanks! >> >> Tom >> > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Reasonably Related Threads
- Accessing login name from login_generator
- [LLVMdev] [PATCH] CMake add_version_info_from_vcs SVN_REPOSITORY
- Cmake-gen'd parallel make breaks on native tablegen
- Cmake-gen'd parallel make breaks on native tablegen
- Cmake-gen'd parallel make breaks on native tablegen