Welcome Guest | Login

ruby 1.8.6 (2008-06-20 patchlevel 230) [i686-linux] problem

Hi again,

I'm experimenting the same problem of this people:
http://redmine.ruby-lang.org/issues/show/211

Apparently it's a bug in the ruby version:

ruby 1.8.6 (2008-06-20 patchlevel 230) [i686-linux]

which is the one I have in production, is there a way to use another ruby version?

Thanks.

2008-07-26 10:35 AM

You can use the "Ruby Enterprise" edition installed in /opt

/opt/ruby-enterprise-x.x.x/bin/ruby mongrel_rails ...

going to mod_rails will also use this version automatically.

2008-07-26 11:27 AM

Sorry about my ignorance, but I'm running the app with fastcgi and I would like to tell fastcgi to use the Ruby Enterprise, how can I do that? Thanks again.

2008-07-27 02:31 PM

To make your dispatcher scripts to run the ruby binary inside /opt/ruby-enterprise-1.8.6-20080709/bin/ruby, just change the shebang line of your dispatch.fcgi from /usr/local/bin/ruby to /opt/ruby-enterprise-1.8.6-20080709/bin/ruby . Let us know if you've any further questions.

2008-07-27 02:45 PM

Thanks a lot!

2008-07-27 03:01 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.