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

Ruby 1.8.7 compatibility #81

Closed
syoder opened this issue Apr 12, 2013 · 1 comment
Closed

Ruby 1.8.7 compatibility #81

syoder opened this issue Apr 12, 2013 · 1 comment

Comments

@syoder
Copy link
Contributor

syoder commented Apr 12, 2013

In Ruby 1.8.7, Module.constants returned an array of strings (http://ruby-doc.org/core-1.8.7/Module.html#method-c-constants)

It looks like that changed to an array of symbols in Ruby 1.9.3+ (http://ruby-doc.org/core-1.9.3/Module.html#method-c-constants)

The code that checks to see if rabl or jbuilder is loaded depends on getting an array of symbols back. This causes the gem to fail on Ruby 1.8.7.

@syoder syoder closed this as completed Apr 12, 2013
@syoder
Copy link
Contributor Author

syoder commented Apr 12, 2013

forgot that a pull requests is it's own "issue", so we don't need this additional one.

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

1 participant