can't be used with ruby 1.9.2 on windows #32

Closed
PizzaPill opened this Issue Jan 23, 2012 · 10 comments

Comments

Projects
None yet
5 participants

mailcatcher depends on eventmachine ~> 0.12 which doesn't build with ruby 1.9.2 on windows (eventmachine/eventmachine#292)

Owner

sj26 commented Jan 23, 2012

I'm not bumping the dependency until 1.0 is released, but I'll leave this issue open until this happens.

Feel free to grab the source, test and post resutls! I don't use Windows.

Wow you are quick ;) Its not a urgent issue for me because I'm on a
big linux box usually, just wanted you to know. Thanks for
implementing this wonderful gem!

Owner

sj26 commented Jan 23, 2012

No worries. :-)

Here's how I made it work on Windows 7:

Downloaded the source for mailcatcher and skinny (a mailcatcher dependency, also dependent on eventmachine).

Changed the reference to eventmachine to "~> 1.0.0.beta.4.1" in both

Deleted and re-installed eventmachine using gem install eventmachine --pre

Built and installed skinny, built and installed mailcatcher.

Thanks for creating such awesomeness!

Owner

sj26 commented Apr 3, 2012

Unfortunate that EventMachine hasn't released a stable release since 2009. :-(

Maybe I should just bump the requirement...

Or create a windows7 version with a bumped requirement :)

Which may not be sufficient as skinny also requires eventmachine.

Having it run on windows is really nice. This gem is... a gem!

We came across this today, as one of our developers who runs Windows came back from holiday a month after we started using Mailcatcher - now we've had to disable it for now on his box, but is going to start causing problems real soon :(

Might give the solution above from @AAANDRE a shot - will keep you posted.

Owner

sj26 commented Nov 29, 2012

Can you please check you're running the very latest versions of mail catcher and eventmachine? This shoul have been fixed by a couple of patches and their reaching 1.0.

Yep - it is working now. We had to gem uninstall eventmachine then gem install mailcatcher seemed to have sorted it.

Doesn't look like installing the mailcatcher updated the existing eventmachine on the system.

Thanks!

Same here. Thanks Antony.

sj26 closed this Jan 25, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment