So I used script/server webrick and it works, but how do I use MySQL
now? I already configured database.yml… when I try to run
script/server without webrick I get this error:
!!! Path to log file not valid: log/mongrel.log
Thanks for the help
So I used script/server webrick and it works, but how do I use MySQL
now? I already configured database.yml… when I try to run
script/server without webrick I get this error:
!!! Path to log file not valid: log/mongrel.log
Thanks for the help
Make sure that you have a log directory in your rails application’s
root.
Make sure that you have a log directory in yo
Do you have your config\database.yml set up something like this:
development:
adapter: mysql
database: myapp_development
username: root
password: my_pswd
host: localhost
test:
adapter: mysql
database: myapp_test
username: root
password: my_pswd
host: localhost
production:
adapter: mysql
database: myapp_production
username: root
password: my_pswd
host: localhost
HTH,
Richard
On Jul 9, 11:58 am, Justin To [email protected]
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs