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

Adds support for Ruby 2 #7

Merged
merged 2 commits into from
Dec 15, 2015
Merged

Adds support for Ruby 2 #7

merged 2 commits into from
Dec 15, 2015

Conversation

ometa
Copy link

@ometa ometa commented Dec 15, 2015

The reason we need to conditionally require the syck gem is because in Rubies >= 2, the syck YAML engine was removed. In the case where Ruby 2 is being used, the yaml gem should not be required since it sets the YAML constant. Instead, require the syck gem, which also sets the YAML engine, but uses the syck library instead of Psych.

@ometa
Copy link
Author

ometa commented Dec 15, 2015

@andrewgho for your review, please.

andrewgho added a commit that referenced this pull request Dec 15, 2015
Adds support for Ruby 2
@andrewgho andrewgho merged commit 1efa291 into groupon:master Dec 15, 2015
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

Successfully merging this pull request may close these issues.

2 participants