Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Conversation

jsmestad
Copy link
Contributor

@jsmestad jsmestad commented Jul 8, 2015

This eliminates a warning when running in Rails.

/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/tracker_api-0.2.10/lib/core_ext/object/blank.rb:103:warning: already initialized constant String::BLANK_RE
/usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/core_ext/object/blank.rb:102:warning: previous definition of BLANK_RE was here

This eliminates a warning when running in Rails.

  /usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/tracker_api-0.2.10/lib/core_ext/object/blank.rb:103:
  warning: already init
  ialized constant String::BLANK_RE
  /usr/local/var/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.3/lib/active_support/core_ext/object/blank.rb:102:
  warni
  ng: previous definition of BLANK_RE was here
@forest
Copy link
Contributor

forest commented Jul 9, 2015

👍

forest added a commit that referenced this pull request Jul 9, 2015
Conditionally load core_ext/blank depending on AS
@forest forest merged commit 47837e7 into irphilli:master Jul 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants