-
Notifications
You must be signed in to change notification settings - Fork 168
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
gem install yajl-ruby on RHEL5 causes buffer overflow #89
Comments
Testing a gem install with -V locally shows the install appear to take these steps:
Based on that, and looking at the output I assume things are bombing before or during step 2 in the process. Are either of you able to install the gem manually? IE: download https://rubygems.org/downloads/yajl-ruby-1.0.0.gem then run If that bombs in the same spot, it seems to point to a buggy tar implementation? Or possibly a corrupt .gem file? Definitely curious what the results of a "manual" install are. Next step if that fails, is to clone down the repo and try building it yourself via:
If that works, there's definitely something strange with the gem file or the tar executable itself. Let me know what you find. |
Downloaded and tried a local install with same result: $ md5sum yajl-ruby-1.0.0.gem $ gem install -V yajl-ruby-1.0.0.gem etc... I have to go home now but I'll try the next step tomorrow if nobody has done in the interum. FYI: $ rpm -qa | grep ruby |
Just noticed Ruby 1.8.5, forgot that ships with RHEL/CentOS... I thought I'd put it in the gemspec (just updated it) but yajl-ruby 1.0 should have required ruby 1.8.6 or higher. According to the latest version of ruby 1.8.5 (p231?) was released back in summer of 2008. I highly recommend upgrading to at least 1.8.7. |
Just shipped yajl-ruby 1.1.0 which now requires ruby 1.8.6 or higher, give that a try and let me know if you have any issues |
Okay, the box is in Prod so it might be easier to install with RHEL/Centos 6 which has Ruby 1.8.7 rather than hacking in some backported version. This will probably take me a while to arrange, I'll reopen/new ticket if problems on RHEL6 |
ruby enterprise also has rpms I think, which is based on 1.8.7 On Nov 9, 2011, at 4:17 PM, Simon Lyallreply@reply.github.com wrote:
|
+1 to REE, I've done that before with great success: Endpoint provide solid packages for RHEL5. |
This was originally reported to me on auxesis/visage#84:
auxesis/visage#84 (comment)
I don't have a system to test, but I guess @slyall, @ccelebi or @Elwell maybe able to help out.
The text was updated successfully, but these errors were encountered: