Current version of 1.8.7 breaks somthing in rails.

Bug #317313 reported by Linux Dan
4
Affects Status Importance Assigned to Milestone
ruby1.8 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ruby1.8

After installing ruby rails and passenger and debugging other issues with my rails app I still come up with errors like the following:

undefined method `[]' for #<Enumerable::Enumerator:0xb69923dc>

When trying to run my rails app. I've googled this error and I keep seeing that other people have fixed it by downgrading to 1.8.6. This might be a ruby issue but since ubuntu decided to move from 1.8.6 to 1.8.7 its a ubuntu issue as well. Can someone at least tell me whats going on with 1.8.7?

Revision history for this message
Lucas Nussbaum (lucas) wrote :

which exact version of ruby1.8 and rails are you using ? are you using the rails debian package?

Revision history for this message
Linux Dan (linuxdan) wrote : Re: [Bug 317313] Re: Current version of 1.8.7 breaks somthing in rails.

I ended up with ruby version "ruby 1.8.6 (2007-09-24 patchlevel 111)
[i486-linux]" and rails version "Rails 2.2.2". Rails was installed via
rubygems as is usually recommended. At the time I found several sites
including a page on the official Rails site saying that ruby 1.8.7
would not work. It seems that the current version of 1.8.7 will work
though as that is the recommended version according to the official
rails site as of today. Thank you for following up on this issue, even
if its a month late :-)

Cheers

Dan

On Wed, Feb 18, 2009 at 8:59 AM, Lucas Nussbaum
<email address hidden> wrote:
> which exact version of ruby1.8 and rails are you using ? are you using
> the rails debian package?
>
> --
> Current version of 1.8.7 breaks somthing in rails.
> https://bugs.launchpad.net/bugs/317313
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Bryan McLellan (btm) wrote :

What version of Rails were you running that did not work for you with Ruby 1.8.7?

Can you still produce this error?

rails=2.1.0-1 contained upstream patches to fix rails + ruby=1.8.7, see [1].

Installing rails via gem works for me.

Ubuntu 8.10, ruby1.8=1.8.7.72-1ubuntu0.1, rubygems=1.3.1-1

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484351

Changed in ruby1.8:
status: New → Incomplete
Revision history for this message
Linux Dan (linuxdan) wrote :

Sorry, no. I don't remember the exact version of 1.8.7 I had at the
time. If you check the original date of this bug vs what was in the
repository at the time you might be able to track it down. I don't
think this is an issue anymore so it might not be worth your time.

On Tue, Feb 24, 2009 at 6:42 PM, Bryan McLellan <email address hidden> wrote:
> What version of Rails were you running that did not work for you with
> Ruby 1.8.7?
>
> Can you still produce this error?
>
> rails=2.1.0-1 contained upstream patches to fix rails + ruby=1.8.7, see
> [1].
>
> Installing rails via gem works for me.
>
> Ubuntu 8.10, ruby1.8=1.8.7.72-1ubuntu0.1, rubygems=1.3.1-1
>
> [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484351
>
> ** Changed in: ruby1.8 (Ubuntu)
>       Status: New => Incomplete
>
> --
> Current version of 1.8.7 breaks somthing in rails.
> https://bugs.launchpad.net/bugs/317313
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Lucas Nussbaum (lucas) wrote :

I'm closing this bug:
- the fact that rails installed via rubygems doesn't work with ruby 1.8.7 installed via apt is not an Ubuntu problem
- the bug was caused by changes in ruby 1.8.7 which broke rails. the rails package was never affected AFAIK

Changed in ruby1.8:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.