[#35027] [Ruby 1.9-Bug#4352][Open] [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s) — "James M. Lawrence" <redmine@...>

Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)

16 messages 2011/02/01

[#35114] [Ruby 1.9-Bug#4373][Open] http.rb:677: [BUG] Segmentation fault — Christian Fazzini <redmine@...>

Bug #4373: http.rb:677: [BUG] Segmentation fault

59 messages 2011/02/06

[#35171] [Ruby 1.9-Bug#4386][Open] encoding: directive does not affect regex expressions — mathew murphy <redmine@...>

Bug #4386: encoding: directive does not affect regex expressions

9 messages 2011/02/09

[#35237] [Ruby 1.9-Bug#4400][Open] nested at_exit hooks run in strange order — Suraj Kurapati <redmine@...>

Bug #4400: nested at_exit hooks run in strange order

12 messages 2011/02/15

[ruby-core:35213] Re: [Ruby 1.9-Bug#4373] http.rb:677: [BUG] Segmentation fault

From: Benoit Daloze <eregontp@...>
Date: 2011-02-12 12:25:52 UTC
List: ruby-core #35213
On 12 February 2011 10:26, Christian Fazzini <redmine@ruby-lang.org> wrote:
> Issue #4373 has been updated by Christian Fazzini.
>
>
> I followed: http://rvm.beginrescueend.com/packages/openssl/. I have tried installing ruby via rvm with numerous attempts. Making sure I remove the previous version before installing a new one:
>
> rvm install 1.9.2 --with-openssl-dir=/usr
> rvm install 1.9.2 --with-openssl-dir=/usr/local
>
> In a terminal window: ruby -r twitter -e 'puts Twitter.user("sferik").location' works fine.
> In Rails console, it still returns the error!

Maybe the command line is incorrect.
The RVM documentation specify configure options should be passed with
-C (http://rvm.beginrescueend.com/rvm/cli/)
But the RVM doc about openssl (http://rvm.beginrescueend.com/rvm/cli/)
show you can pass it directly.

You could try:
rvm install 1.9.2 -C --with-openssl-dir=/usr
Or maybe, to allow both rvm and ruby configure script to know what you want:
rvm install 1.9.2 --with-openssl-dir=/usr -C --with-openssl-dir=/usr

In This Thread