Created
April 14, 2012 14:52
-
-
Save Azolo/2384960 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Users\Justin\Projects\Ruby\test> gem i rdiscount json --no-ri --no-rdoc | |
Temporarily enhancing PATH to include DevKit... | |
Building native extensions. This could take a while... | |
Successfully installed rdiscount-1.6.8 | |
ERROR: Error installing json: | |
pre-install hook at C:/SDK/Ruby/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/defaults/operating_system. | |
rb:2 failed for json-1.6.6 | |
1 gem installed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# :DK-BEG: override 'gem install' to enable RubyInstaller DevKit usage | |
Gem.pre_install do |gem_installer| | |
unless gem_installer.spec.extensions.empty? | |
require 'devkit' | |
end | |
end | |
# :DK-END: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment