My bad. I didn't provide the complete update instructions :

[EMAIL PROTECTED] ~]$ sudo gem update --system
[EMAIL PROTECTED] ~]$ sudo update_rubygems


On Fri, Oct 24, 2008 at 5:34 AM, Pilaf <[EMAIL PROTECTED]> wrote:
>
> BTW, Google already indexed this:
>
> http://rails.lighthouseapp.com/projects/8994/tickets/1259-bug-in-edge-rails
>
> Thought I might post it here in case someone finds a solution and
> posts it over there.
>
> On Thu, Oct 23, 2008 at 10:03 PM, Pilaf <[EMAIL PROTECTED]> wrote:
>> I'm having the same problem. I'm on a Gentoo box with Ruby 1.8.6 and
>> all the latest patches. Pratik's suggestion did nothing (actually my
>> rubygems was already up-to-date).
>>
>> I'm downgrading to 2.1.1 if no quick solution comes up soon.
>>
>> On Thu, Oct 23, 2008 at 9:30 PM, Pratik <[EMAIL PROTECTED]> wrote:
>>>
>>> Update the rubygems :
>>>
>>> gem update --system
>>>
>>> On Fri, Oct 24, 2008 at 3:10 AM, Jason Crystal
>>> <[EMAIL PROTECTED]> wrote:
>>>>
>>>> Hello,
>>>>
>>>> On all of my Rails 2.1.2 projects (released today), whenever I try to
>>>> generate anything, I get the result "undefined method `empty?' for
>>>> /_generator$/:Regexp".
>>>>
>>>> Example:
>>>>
>>>> mbp15:~> rails -v
>>>> Rails 2.1.2
>>>> mbp15:~> rails ./example
>>>>      create
>>>>      ...
>>>>      ...
>>>>
>>>> mbp15:~> cd example
>>>> mbp15:~/example> ./script/generate model my_model name:string
>>>> undefined method `empty?' for /_generator$/:Regexp
>>>> mbp15:~/example> ./script/generate migration my_first_migration
>>>> undefined method `empty?' for /_generator$/:Regexp
>>>> mbp15:~/example>
>>>>
>>>>
>>>> Any thoughts?  Anyone else experiencing this?
>>>>
>>>> Thanks,
>>>> -Jason
>>>> --
>>>> Posted via http://www.ruby-forum.com/.
>>>>
>>>> >
>>>>
>>>
>>>
>>>
>>> --
>>> Cheers!
>>> - Pratik
>>> http://m.onkey.org
>>>
>>> >>
>>>
>>
>
> >
>



-- 
Cheers!
- Pratik
http://m.onkey.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to