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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
i386-mingw32 is not supported #18
Comments
Same problem here :( |
This gem takes advantage of a number of features commonly available on unix-based systems, so adding general support for an aberrant system like Windows would require a significant overhaul. However, supporting Windows with a reasonable mingw install might be possible with small changes. Unfortunately, I don't have anything running Windows. @colszowka might, but I doubt it. I think support for Windows (with or without mingw) would be great, but it will likely require someone that actually has a computer running Windows to implement it. |
Fyi, according to this page there's already a precompiled executable available for windows; you don't need to install PhantomJS as a Gem. |
Just submitted PR #23 for this if you want to try it. |
This is fixed in the latest release (thanks go to @slumos). The new version (1.9.2.1) is up on rubygems.org. |
I am getting same error on phantomjs-1.9.7.0 :( Any Pointers? |
My OS (JRuby running on Windows 7 Pro installed dual-boot on a Mac laptop) is returning different strings than those that are being checked against in @slumos patch. This dirty hack got me past this hurdle (I'll look at turning it into a PR with proper tests when I have some extra minutes - if it makes sense to do so) module Phantomjs
class Platform
class Win32 < Platform
class << self
def useable?
['mingw32', 'mswin32'].include?(host_os) and ['i686', 'x86_64'].include?(architecture)
end
end
end
end
end |
馃槥
The text was updated successfully, but these errors were encountered: