Skip to content
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

Fix rubygems deprecations #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jul 12, 2011

  1. Don't use deprecated Gem.all_load_paths() and skip non-activated gems

    - Gem.all_load_paths() has been deprecated recently. Not only that - some of the other deprecated methods it depends on uses have probably not not been updated in a long time and cause 'rake gettext:find' to crash ('undefined method `specifications' for "/usr/lib/ruby/gems/1.9.1":String').
    - This patch iterates over all specifications and collects values of their gem_dir properties in an array instead
    - Use only those specifications that have been activated. The old implementation was using all of them, even if there were multiple versions of the same gem.
    cameel committed Jul 12, 2011
    Configuration menu
    Copy the full SHA
    c3a8373 View commit details
    Browse the repository at this point in the history
  2. Bump rubygems dependency to version 1.8.0

    - My patch that fixes the use of deprecated Gem.all_load_paths() uses rubygems features that have been added in version 1.8.0. Make that requirement explicit.
    cameel committed Jul 12, 2011
    Configuration menu
    Copy the full SHA
    29a6389 View commit details
    Browse the repository at this point in the history