-
Notifications
You must be signed in to change notification settings - Fork 180
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
Include st.h when using st_* functions #95
Comments
Original comment by Anonymous. +1 I'd love to be able to use the pg gem on Rubinius. |
Original comment by Anonymous. Any chance of a minor release with this fix? It'd be a nice Christmas present for Rubinius users :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Original report by Anonymous.
In MRI, st.h is included in intern.h which is included in ruby.h. However, we do not include st.h in Rubinius. Since st_* functions are used, st.h should be explicitly included.
Alternatively, I'd suggest not using st_* functions at all. They are very much an implementation detail of MRI.
The include of st.h is the only blocker for building the pg gem under Rubinius 1.9 mode:
https://gist.github.com/1489400
Thanks,
Brian
The text was updated successfully, but these errors were encountered: