I just installed ubuntu's upcoming release (which will have a final
release in exactly 1 month).
Just for playing/testing ofcourse, not for anything serious.
I did all updates/upgrades up to today, and installed REE (20090610).
Installation worked, as did installation of all gems I use.
When running a rails app, I noticed some strange behaviour(rails
wanting to return xml for every request), which I traced down to the
way strings are cast into floats:
Since to_f dives into c code, I'm backing off there.
Now, I know karmic is still alpha, but they did have some freeze for
this release, so this will probably happen to final too.
Ubuntu's bundled ruby packages don't seem to have the problem.
I tried recompiling them again from source too (to make sure the
problem is not related to the compiler/headers installed), but they
still work fine.
So it seems to be something with REE.
> I did all updates/upgrades up to today, and installed REE (20090610).
> Installation worked, as did installation of all gems I use.
> When running a rails app, I noticed some strange behaviour(rails
> wanting to return xml for every request), which I traced down to the
> way strings are cast into floats:
I got the same thing few weeks ago on Fedora 10 64bit - on both AMD and
Intel processors, so gave it up. Works fine on my 32 bit notebook running
Ubuntu 8.04.
On Sun, Sep 27, 2009 at 5:24 PM, Nikolai Lugovoi <nlugo...@gmail.com> wrote:
> On Sep 27, 11:19 am, Mathijs <bluescreen...@gmail.com> wrote:
> > I did all updates/upgrades up to today, and installed REE (20090610).
> > Installation worked, as did installation of all gems I use.
> > When running a rails app, I noticed some strange behaviour(rails
> > wanting to return xml for every request), which I traced down to the
> > way strings are cast into floats:
thanks Nikolai for posting the links to the workaround. I just checked my
problems were all with gcc 4.4.1 on Fedora 11, will try compiling REE again
with flag.
On Sun, Sep 27, 2009 at 10:39 PM, Nikolai Lugovoi <nlugo...@gmail.com>wrote:
I'm currently staying in a hotel so I don't have a fast enough
Internet connection to download a Linux distro with GCC 4.4. Can any
of you confirm that applying
Strange, it does not look like I can reproduce the issue. I've tried REE 2009.10 on: - Ubuntu 9.10 32-bit - Ubuntu 9.10 64-bit GCC 4.4.1 was used to compile it. "0.9".to_f evaluates to 0.9 as expected. Even if I compile everything with "-fstrict-aliasing", it still works properly.
It does not look like 2009.10 includes a fixed dtoa which only makes this observation weirder.
-- Phusion | The Computer Science Company
Web: http://www.phusion.nl/ E-mail: i...@phusion.nl Chamber of commerce no: 08173483 (The Netherlands)
On Sun, Jan 3, 2010 at 8:38 PM, Hongli Lai <hon...@phusion.nl> wrote: > Strange, it does not look like I can reproduce the issue. I've tried > REE 2009.10 on: > - Ubuntu 9.10 32-bit > - Ubuntu 9.10 64-bit > GCC 4.4.1 was used to compile it. "0.9".to_f evaluates to 0.9 as > expected. Even if I compile everything with "-fstrict-aliasing", it > still works properly.
> It does not look like 2009.10 includes a fixed dtoa which only makes > this observation weirder.
> -- > Phusion | The Computer Science Company
> Web: http://www.phusion.nl/ > E-mail: i...@phusion.nl > Chamber of commerce no: 08173483 (The Netherlands)
> --
> You received this message because you are subscribed to the Google Groups "Ruby Enterprise Edition" group. > To post to this group, send email to emm-ruby@googlegroups.com. > To unsubscribe from this group, send email to emm-ruby+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/emm-ruby?hl=en.
> indeed strange. > I thought it got fixed, since for me it's working fine now.
> On Sun, Jan 3, 2010 at 8:38 PM, Hongli Lai <hon...@phusion.nl> wrote: > > Strange, it does not look like I can reproduce the issue. I've tried > > REE 2009.10 on: > > - Ubuntu 9.10 32-bit > > - Ubuntu 9.10 64-bit > > GCC 4.4.1 was used to compile it. "0.9".to_f evaluates to 0.9 as > > expected. Even if I compile everything with "-fstrict-aliasing", it > > still works properly.
> > It does not look like 2009.10 includes a fixed dtoa which only makes > > this observation weirder.
> > -- > > Phusion | The Computer Science Company
> > Web:http://www.phusion.nl/ > > E-mail: i...@phusion.nl > > Chamber of commerce no: 08173483 (The Netherlands)
> > --
> > You received this message because you are subscribed to the Google Groups "Ruby Enterprise Edition" group. > > To post to this group, send email to emm-ruby@googlegroups.com. > > To unsubscribe from this group, send email to emm-ruby+unsubscribe@googlegroups.com. > > For more options, visit this group athttp://groups.google.com/group/emm-ruby?hl=en.