Hello All,
I've installed ruby 1.8.6, Gems 1.1.0, Rails 2.0.2. I've installed
sqlite3 dll, reg, & exe in the ruby/bin directory and all "seems"
installed properly. So the problem is this; I run 'rails appname' and it
generates the structure no problem. Then immediately thereafter I try to
run from the 'appname' directory 'ruby scritpt/server' just to see if
the webrick server will start up. But it doesn't, instead I get the
error below. Consequently the server does not start, thus the problem.
I do have a copy of InstantRails-2 that seems to work just fine; I can
'Manage Rails Applications' start a 'Create Rails Application' console
then run 'rails appname' and then immediately run the server, which does
start and run (http://localhost:3000/ resolves with standard 'Rails'
greeting, yet should I browse to http://localhost:3000/appname I get the
following error; No route matches "/newapp" with {:method=>:get}
Several questions come to mind.
1. Does a fresh 'rails appname' application, actually require a database
to be running to start the webserver.
2. Is this a pathing problem in the windows console started from the
'Start'>Programs>Accessories>Command Prompt
3. I run realize that I need to run 'scaffold' or 'generate' something
after the 'rails appname' command, but shouldn't the webserver start
nonetheless?
Hello All,
I've installed ruby 1.8.6, Gems 1.1.0, Rails 2.0.2. I've installed
sqlite3 dll, reg, & exe in the ruby/bin directory and all "seems"
installed properly. So the problem is this; I run 'rails appname'
and it
generates the structure no problem. Then immediately thereafter I
try to
run from the 'appname' directory 'ruby scritpt/server' just to see if
the webrick server will start up. But it doesn't, instead I get the
error below. Consequently the server does not start, thus the problem.
I do have a copy of InstantRails-2 that seems to work just fine; I can
'Manage Rails Applications' start a 'Create Rails Application' console
then run 'rails appname' and then immediately run the server, which
does
start and run (http://localhost:3000/ resolves with standard 'Rails'
greeting, yet should I browse to http://localhost:3000/appname I get
the
following error; No route matches "/newapp" with {:method=>:get}
Several questions come to mind.
1. Does a fresh 'rails appname' application, actually require a
database
to be running to start the webserver.
2. Is this a pathing problem in the windows console started from the
'Start'>Programs>Accessories>Command Prompt
3. I run realize that I need to run 'scaffold' or 'generate' something
after the 'rails appname' command, but shouldn't the webserver start
nonetheless?
The question is why is the environment.rb template file in gems/
rails-2.0.2.xxxx/environments still referencing config.time_zone
rather than config.active_record.default_timezone? Shouldn't this be
reported as an issue?