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

Test suite hangs on Ruby 2.1.1 and 2.1.2 #26

Closed
JoshCheek opened this issue Jun 28, 2014 · 0 comments
Closed

Test suite hangs on Ruby 2.1.1 and 2.1.2 #26

JoshCheek opened this issue Jun 28, 2014 · 0 comments

Comments

@JoshCheek
Copy link
Owner

It's a bug in these versions of Ruby.
Example here
Reported here.
Fixed here.

You have to upgrade to a newer version of Ruby (right now that means compile source yourself). It's a bug hit by the suite, not the lib, so shouldn't matter to end-users. This is how I built mine:


Didn't have a ./configure, so I Had to install autoconf

$ brew install autoconf

Then generate the ./configure

$ autoconf

Then run configure to get a Makefile. This prefix is for chruby, you'll do something different if your rubies get installed elsewhere.

$ ./configure --prefix="$HOME/.rubies/ruby-2.2.0.bleeding" --with-openssl-dir=`brew --prefix openssl` --with-readline-dir=`brew --prefix readline

Then make to compile it

$ make

Then make install to put the compiled files where they belong

$ make install

Now you can use it (you may have to launch a new shell). I may have also had to make the "$HOME/.rubies/ruby-2.2.0" dir myself, not sure b/c I got confused and did that when the problem was something else.

JoshCheek added a commit that referenced this issue Jun 28, 2014
Closes #26

It's a Ruby issue that they fixed but hasn't been released yet.

Example  here: https://gist.github.com/JoshCheek/8aee8ef4a5f8593db351
Reported here: https://bugs.ruby-lang.org/issues/9820
Fixed    here: ruby/ruby@3771a37
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