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

already initialized constant DeepMerge::DEFAULT_FIELD_KNOCKOUT_PREFIX #19

Closed
firedev opened this issue Mar 2, 2015 · 6 comments
Closed

Comments

@firedev
Copy link

firedev commented Mar 2, 2015

Hi, here is what I am seeing every time my rails app starts:

/[...]/gems/deep_merge-1.0.1/lib/deep_merge/core.rb:5: warning: already initialized constant DeepMerge::DEFAULT_FIELD_KNOCKOUT_PREFIX
/[...]/gems/rails_config-0.4.2/lib/rails_config/vendor/deep_merge.rb:4: warning: previous definition of DEFAULT_FIELD_KNOCKOUT_PREFIX was here

My Gemfile:

gem 'deep_merge', require: 'deep_merge/rails_compat'
@firedev firedev closed this as completed Jun 27, 2015
@firedev
Copy link
Author

firedev commented Jun 27, 2015

Fixed it rubyconfig/config#110

@DannyBen
Copy link

When will this fix be available in the published gem?

@firedev
Copy link
Author

firedev commented Jul 20, 2015

You can use it right now:

gem 'rails_config', github: 'railsconfig/rails_config'

@DannyBen
Copy link

Thanks, I will try it like that, see if it stops complaining.
I see the last release of rails_config was a year ago, wondering why.

@firedev
Copy link
Author

firedev commented Jul 20, 2015

Sorry, no idea, just patched this thing because it kept annoying me.

@DannyBen
Copy link

Thanks, works for me as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants