Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows fat binary broken on 1.2.8 #41

Closed
jmthomas opened this issue Mar 17, 2011 · 4 comments
Closed

Windows fat binary broken on 1.2.8 #41

jmthomas opened this issue Mar 17, 2011 · 4 comments

Comments

@jmthomas
Copy link

I installed thin via gem install thin which installed thin-1.2.8-x86-mingw32. Then when I tried to start rails via rails server thin I crashed on line 48 in thin.rb: require "#{Thin::ROOT}/#{$1}/thin_parser" When I investigated the gem there is no 1.9 directory under the thin lib directory. I removed the #{$1}/ from the path but it still crashes because it can't find thin_parser.so but that DOES exist under lib.

I noticed in version 1.2.8 the 1.8 and 1.9 directories do exist so I manually copied them over to my 1.2.9 directory and now it starts.

@jmthomas
Copy link
Author

Note that I have ruby 1.9.2 installed using the RubyInstaller and the DevKit.

When I install this way it works:
gem install thin --platform=ruby

This way does not create the 1.8 / 1.9 directories under lib but instead uses the DevKit to build the native extensions.

@macournoyer
Copy link
Owner

Can you try this one: https://macournoyer.s3.amazonaws.com/thin-1.2.8-x86-mingw32.gem. I'll make a new release if it works.

@jmthomas
Copy link
Author

Works like a champ, thanks for the quick turnaround!

Thin is the only practical production server option on Windows so having a working fat binary is especially useful. I'm running it against eventmachine 1.0.0.beta.3 with good results.

@triemstr
Copy link

Thank you!! Yes thin is the best server on Windows...I've had problems with all the other free ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants