开发者

"start with mongrel" doesn't work, but "ruby script/server" works. Why?

开发者 https://www.devze.com 2022-12-18 09:27 出处:网络
In InstantRails: I click Manage Rails Applications, check Shovell, click Start with Mongrel, visit http://localhost:3000, click Submit a new story!, type login information, click login, the Ruby Cons

In InstantRails:

I click Manage Rails Applications, check Shovell, click Start with Mongrel, visit http://localhost:3000, click Submit a new story!, type login information, click login, the Ruby Console Window closes, I can't login and Firefox outputs Connection Restarted.

or

I click Open Ruby Console Window, type cd Shovell, type ruby script/server, visit http://localhost:3000, click Submit a new story!, type login information, click login, the Ruby Console Window doesn't close, I 开发者_如何学Gologin and Firefox outputs the form to submit a new story.

I'm wondering why... Do you know?

UPDATED:

log/development.log -> http://pastie.org/802310

stack trace -> http://f.imagehost.org/view/0500/mongrel


Impossible to say without more data. Check your error logs -- look for log/#{RAILS_ENV}.log (probably log/development.log in your case).


Edit: Additional info was provided by the OP, so I"m updating the answer.

This looks very much like the notorious Rails-not-playing-well-with-MySQL-on-Windows problem. See here and here for more info, and try downloading the file here for InstantRails.

0

精彩评论

暂无评论...
验证码 换一张
取 消