-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Long installation time? #31
Comments
@noice that is because the installation of mini_portile is not the issue, but another gem that depends on it is. This is the case of nokogiri, which uses mini_portile to build libxml2 and related libraries to avoid dependency on system provided ones. You can short the installation time by telling nokogiri to use system libraries: $ gem install nokogiri -- --use-system-libraries As indicated in Nokogiri source: https://github.com/sparklemotion/nokogiri/blob/master/ext/nokogiri/extconf.rb#L22 Read Bundler's documentation on how to provide configuration options for gems: http://bundler.io/v1.6/man/bundle-config.1.html Hope that helps. |
Ah, thanks for explanation. |
Should be OK since we’re using docker as our base system anyway. Ref: flavorjones/mini_portile#31 (comment) 185
Installing this gem takes very long time on relatively fast machines? I don't see nothing in the code indicating it should take that long?
EDIT: it takes very long only if it is a part of a bundle. gem install mini_portile is fast, but bundle hangs on Installing mini_portile for a very long time. Could it be some misunderstanding between bundler and this gem, or am I completely wrong?
The text was updated successfully, but these errors were encountered: