Tuesday, November 3, 2009

compiling ruby 1.8.6-369 on Fedora 11 x86_64

Well, i like to compile my version of ruby, to use rails, and have always done that with not trouble but this time, i got an odd behaver, after make and make install, when i run my rails apps i got a rails working however every time the apps interact with the db i got xml not html on my browser as wanted,  the reason was a bug, the work arount it is to add -fno-strict-aliasing to the configure file so it changes from CFLAGS="-g -O2" to CFLAGS="-g -O2 -fno-strict-aliasing" . Then do make and make install as usual.


No comments: