-
Notifications
You must be signed in to change notification settings - Fork 79
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
Failed to install offline on Windows platform #158
Comments
We are also getting an error with Windows installations via gemfile. An update of the selenium-webdriver in our Rails app has bumped childprocess from version from
|
I'm afraid it's not very helpful:
|
Mine is the same as reggieb's. Here I've tried |
Hey all, after a quick investigation I don't have a good answer here. The error is caused by the RubyGems runtime not being able to find a dependency in the local domain
I tried modifying the
Here are the options we have:
I'm coming around to 3 given the fact that conditional installation does seem a little bit deceptive. Developers should be able to see clearly what their gems are installing without having to look at custom extensions code. @DavidS Any thoughts on removing the extension code since you implemented this in #132? |
The original reason for me having that has vanished, so I have no objections to revert all of that. :( |
Since Gem::Installer#install always tries to reinstall, I guess a simple way to fix this is to check whether a satisfied version of |
Hey @aidistan, thanks for opening #159. I still believe the answer here is to remove this logic, and clearly document that Windows users need to explicitly install
We (specifically, myself) originally merged this in #132 without truly understanding the consequences of that pull request. For this reason and those mentioned above, we're removing this logic in #160. |
Hey @sds, thanks for the comments and opening #160. Since we had no further progress under this issue for several days, I opened #159 and left the logic untouched 😄 I completely agree with your first and second points. However, besides the document, I suggest to raise a LoadError when running without |
Thanks for the suggestion. Added a more descriptive error message in c0cc6f2. |
Thanks for this great gem!
Recently, I have to install and use this gem offline on Windows platform for some reason. However, I kept getting stuck on this line when building the extension. It seems that Gem::DependencyInstaller always tries to install
ffi
again although I have installed it offline.Steps to reproduce this issue on Windows:
childprocess-2.0.0.gem
(download or build it)gem install --local childprocess-2.0.0.gem
Example output:
The text was updated successfully, but these errors were encountered: