Ruby 1.9.3 Preview 1 available now

August 2nd, 2011 Comments Off

Yuki “Yugui” Sonada has just announced the availability of Ruby 1.9.3 Preview 1.

I have just released Ruby 1.9.3 preview1. This is the first preview of Ruby 1.9.3 releases.

I know there are still minor known issues on 1.9.3 but I believe it will be fixed before the release of Ruby 1.9.3-p0. Let’s try it out. If you have any trouble on it, please let us know it.

If you use RVM (who wouldn’t? And if you are on Mac or Linux and you are not using it, you seriously should get it now), you can get it with the following -

rvm get head
rvm reload
rvm install 1.9.3-preview1
rvm use 1.9.3

I ran into a problem tcltklib.bundle not linking the right libiconv library, installation failed with the following error:

linking shared-object tcltklib.bundle
ld: in /usr/local/lib/libiconv.2.dylib, missing required architecture x86_64 in file for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [../../.ext/x86_64-darwin11.0.0/tcltklib.bundle] Error 1
make[1]: *** [ext/tk/all] Error 2
make: *** [build-ext] Error 2

That problem persisted even without I explicitly set rvm to use –with-iconv-dir and point to the one shipped with OSX, but tcltklib would still try to get the one in /usr/local/lib. I fixed this by symlinking the one in /usr/local/lib to /usr/lib.

rm /usr/local/lib/libiconv.2.dylib
ln -s /usr/lib/libiconv.2.dylib /usr/local/lib/libiconv.2.dylib

Comments are closed.

What's this?

You are currently reading Ruby 1.9.3 Preview 1 available now at hello@keewooi.

meta

  • @keewooi

    • Oops .. it looks like Twitter is down