Thursday, May 5, 2011

RubyGems 1.8.1

After installing RubyGems 1.8.1 you will see deprecations when loading your exsting gems. Run gem pristine --all --no-extensions to regenerate your gem specifications safely.
Currently RubyGems does not save the build arguments used to build gems with extensions. You will need to run gem pristine gem_with_extension -- --build-arg to regenerate a gem with an extension where it requires special build arguments.
  • 1 minor enhancement:
    • Added Gem::Requirement#specific? and Gem::Dependency#specific?
  • 4 bug fixes:
    • Typo on Indexer rendered it useless on Windows
    • gem dep can fetch remote dependencies for non-latest gems again.
    • gem uninstall with multiple versions no longer crashes with ArgumentError
    • Always use binary mode for File.open to keep Windows happy
    http://blog.segment7.net/2011/05/05/rubygems-1-8-1

    No comments: