# Engine + Rails 1.1.1 =\> console error

**URL:** <https://www.ruby-forum.com/t/engine-rails-1-1-1-console-error/57319>\
**Category:** Engines\
**Created:** [April 9, 2006, 7:16pm UTC](https://www.ruby-forum.com/t/engine-rails-1-1-1-console-error/57319 "2006-04-09T19:16:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![klancaster](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f1d935/32.png) [@klancaster](https://www.ruby-forum.com/u/klancaster)\
**Post date:** [April 9, 2006, 7:16pm UTC](https://www.ruby-forum.com/t/engine-rails-1-1-1-console-error/57319/1 "2006-04-09T19:16:49Z")

</div>

After some additional testing, I have found the following:

1. Install Rails 1.1.1 (via upgrade from 1.0)
2. Create test app and run the console  
==\> All works as normal
3. do “script/plugin install engines” (installs engines v 1.1.1)
4. Run the script/console again

In the console, you get

railp 579 $script/console  
Loading development environment.  
/usr/local/lib/ruby/1.8/test/unit/assertions.rb:265: warning: already  
initialized constant UncaughtThrow

I’m not certain if there are any other side effects of this.

Keith

---

<div class="post-metadata">

**Author:** ![klancaster](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f1d935/32.png) [@klancaster](https://www.ruby-forum.com/u/klancaster)\
**Post date:** [April 9, 2006, 8:51pm UTC](https://www.ruby-forum.com/t/engine-rails-1-1-1-console-error/57319/2 "2006-04-09T20:51:14Z")

</div>

I’ve noticed this happening too - it has something to do with  
reopening the Test::Unit::TestCase class in ‘testing\_extensions.rb’.  
I’m looking into it, but let me know if you find something. Might be  
an idea to raise a ticket too…

- james

On 4/9/06, Keith L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> railp 579 $script/console
> 
> * * *
> 
> engine-users mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org](http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org)

–

- J \*  
~
