Closed colinta closed 7 years ago
I'll open a PR if you think this is a valid change.
Ah, I see it's required via require 'active_support/core_ext/hash/deep_merge'
, which I don't have installed. gemspec
issue?
Adding require 'active_support/core_ext/hash/deep_merge'
to my gem's copy of constants.rb
fixes the issue. 0.8.10 should include this fix, whenever it's released.
Yeah 😀 seemed like I had this gem on my machine because of rails
Yeah, I found the same thing and sent a PR for it. Looking forward to a release version that incorporates the fix.
I guess in the meantime, I could tell people to install Rails. I don't know a lot about Ruby but it seems strange that installing a web framework would make extra stuff visible to scripts without the appropriate require statements.
Solution?
It's possible that installing Rails will fix the issue as this doesn't seem to occur in @jcampbell05's environment.
You can refer to this GitHub repo from your Gemfile to get the latest version, which has the fix. https://stackoverflow.com/questions/2577346/how-to-install-gem-from-github-source
You can also forego some of the more recent features (which you may not need) and specify version 0.7.1 when installing.
$ gem install xcake -v 0.7.1
Long time no see! Starting a new toy project, and I'm gonna rely on Xcake again. I just reinstalled, and using Ruby 2.3.1 I got this error right off the bat.
I fixed it locally by adding the
deep_merge
gem, and this change: