Closed Ch4s3 closed 7 years ago
I can confirm this error as well. It looks like the hash internals changed in 2.2; these will need to conditionally be used:
instead of the RHASH(xxx)->ntbl calls.
I did a patch for that but is unofficial one. https://github.com/faustoct/birch/
More details in:
would love to see a fix for this. can't use treat as a result. I was able eto build a treat gem using faustoct's fork, but I can't figure out how to get my 2.2 project to use that gem instead of trying to build a new one in the 2.2. world
@faustoct: thanks for the birch fork. It saved the day.
@alexed1 you can link to a specific git repository via your Gemfile.
@faustoct Can you submit a PR for your fork to the main birch repository?
@louismullie PR submitted
:+1:
:+1:
If you are using rbenv, you can also do:
$ cd your_project
$ rbenv local 2.1.5
$ bundle
The build works in Ruby 2.1.x.
Based on the details gleaned above, here are the exact steps I followed to get treat working with ruby 2.2 on osx yosemite
Thank you so much @wired00!
@wired00! YOU ARE AWESOME!
@ludoplex @zibs Glad it helped you guys! :)
@wired00 I am running Ubuntu 14.04.2 and this worked perfectly. Cheers!! :+1:
For those still struggling with treat gem installation in Ruby - here is the workaround to modify your Gemfile:
Gemfile
gem "birch", :git => 'https://github.com/faustoct/birch.git' gem "treat"
Then 'bundle install' will work as expected
Fixed in most recent birch release
I get the following tring to install with Ruby 2.2.