On Aug 15, 6:55 pm, Alex Slepak <asle...@soletron.com> wrote:
> Running Ruby 1.8.7, Rails 3.0.7 on a Windows 7 machine - tried going
> through an upgrade to Ruby 1.9.2 over the weekend, but ran into
> issues, so have since gone back to 1.8.7. After restoring my app and
> re-installing all of the gems, the application finally launches with
> rails s:
>

There are a few possible root of this issue:

1) Incompatible MySQL "libmysql.dll" placed in your PATH. You're using
mysql2 gem but it requires MySQL 5.0.x DLL. If you're not using the
exact same version, it will fail.

Please read this:

http://blog.mmediasys.com/2011/07/07/installing-mysql-on-windows-7-x64-and-using-ruby-with-it/

While it covers the case of 64bits MySQL versus 32bits Ruby, it
applies to version mismatch issues.

2) Another binary gem that is breaking the process.

>From the list you provided I cannot find any, but these are most
likely the culprit on 90% of the cases.

>
> but I cannot access the site. The browsers just sit there "Waiting for
> localhost..." and there's absolutely no output from rails. I'm at a
> loss at how to even investigate this or what might be causing the
> problem? As far as I can tell MySQL is up and running. In fact, I'm
> even able to successfully launch and use the console via 'rails
> console', but WEBrick refuses to deliver me any pages. Are there any
> logs out there I should be looking at? Or does anyone know what could
> be causing behavior like this?
>

Point 1 mentioned before could explain the mysql never connecting
back. Have you tried plain mysql gem instead?

>
> Can't find anything else to even investigate. Only thing that possibly
> concerns me is that I did do a Windows Update and picked up a dozen or
> two new Windows patches in the process of doing the [attempted]
> upgrade over the weekend, have a hard time imagining those would cause
> this?
>

I do system upgrades weekly and have no problems like this, so is
something else.

--
Luis Lavena

-- 
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@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to