Looky what I found in the Acts As Statemachine plugin.

acts_as_statemachine/test/test_helper.rb:

...
require 'active_support/binding_of_caller'
require 'active_support/breakpoint'
...


Moral: Also  double-check any other installed plugins.

On Dec 17, 2007, at 9:34 PM, Mislav Marohnić wrote:

> On Dec 17, 2007 9:31 PM, Mislav Marohnić <[EMAIL PROTECTED]>  
> wrote:
>
>> On Dec 16, 2007 9:54 AM, Saimon Moore <[EMAIL PROTECTED]> wrote:
>>
>>> breakpoint.rb requires irb so it may be coming from that (or at  
>>> least it
>>> used to)...
>>>
>>
>> That's true. Requiring irb has bitten us also in the past. If you  
>> want
>> pre-Rails 2.0 compatibility for your gem you have to teach people  
>> either
>> to turn off breakpointer or you'll have to re-write some of your  
>> code.
>
>
> Here is the email I sent to Dr. Nic when we debugged map_by_method  
> killing
> Rails:
>
> I found out where .irbrc is included. Stable Rails apps have
> breakpoint_server set to "true" in dev mode. Well, that option makes "
> breakpoint.rb" get included in the dispatcher, which in turn  
> requires IRB.
> Commenting out breakpoint_server in environments/development.rb fixes
> everything.
>
> This was a temporary workaround until we found out how map_by_method  
> broke
> Rails in the first place.
>
> >

-- 
Saimon Moore
Freelance Web Developer
(Available for hire - For details visit http://saimonmoore.net)

Skype: saimonmoore
Yahoo IM: saimonmoore
Google IM: saimonmoore




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to