# Problem installing engines

**URL:** <https://www.ruby-forum.com/t/problem-installing-engines/97276>\
**Category:** Engines\
**Created:** [July 6, 2006, 1:41am UTC](https://www.ruby-forum.com/t/problem-installing-engines/97276 "2006-07-06T01:41:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Post date:** [July 6, 2006, 1:41am UTC](https://www.ruby-forum.com/t/problem-installing-engines/97276/1 "2006-07-06T01:41:34Z")

</div>

Hello everyone,  
I apologize in advance if I commit any newbie mistakes. Please be  
gentle, it’s my first time. I’ve searched google and the web but have  
been unable to find a solution.

I’m attempting to install the active\_rbac plugin. I’ve already run  
./script/plugin discover and added the appropriate plugin repositories.  
I then attempt ./script/plugin install engines and get the following  
trimmed error:  
\_engine/datebox\_engine/datebox\_engine/datebox\_engine/datebox\_engine/datebox\_engine/datebox\_engine/datebox\_engine/datebox\_engine/datebox\_engine/datebox\_engine/datebox\_engine  
(Errno::ENAMETOOLONG)  
from /usr/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir' from /usr/lib/ruby/1.8/fileutils.rb:217:in`mkdir\_p’  
from /usr/lib/ruby/1.8/fileutils.rb:215:in `mkdir_p' from /usr/lib/ruby/1.8/fileutils.rb:201:in`mkdir\_p’  
from  
/usr/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/commands/plugin.rb:829:in  
`push_d' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/commands/plugin.rb:862:in`fetch\_dir’  
from  
/usr/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/commands/plugin.rb:857:in  
`fetch' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/commands/plugin.rb:856:in`fetch’  
… 1917 levels…  
from  
/usr/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/commands/plugin.rb:871  
from  
/usr/local/lib/site\_ruby/1.8/rubygems/custom\_require.rb:21:in `require' from /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:147:in`require’  
from ./script/plugin:3

However, the subversion co seems to work fine.  
I’m at a loss as to what else to try. Please let me know if I need to  
provide more information.  
Thanks,  
Jonathan

---

<div class="post-metadata">

**Author:** ![jonathan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Post date:** [July 6, 2006, 2:24am UTC](https://www.ruby-forum.com/t/problem-installing-engines/97276/2 "2006-07-06T02:24:35Z")

</div>

On 7/5/06, Jonathan [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> ## (Errno::ENAMETOOLONG) from from
> 
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> * * *
> 
> 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)

Jonathan,

Are you trying to get Rails 1.0.4 + Engines + ActiveRbac engine to  
work together?

If so I just accomplished this a couple hours ago.

I used:  
Rails 1.0.4  
latest gems update (if it matters)  
engines from SVN (released version does not work with this combo)  
ActiveRbac 0.3.2

I have not yet done any serious testing but I can move around between  
the ActiveRbac pages. That part was failing with the released version  
of engines.

## Greg

Greg F.  
The Norcross Group  
Forensics for the 21st Century

---

<div class="post-metadata">

**Author:** ![jonathan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Post date:** [July 6, 2006, 10:04pm UTC](https://www.ruby-forum.com/t/problem-installing-engines/97276/3 "2006-07-06T22:04:02Z")

</div>

Greg F. wrote:

> Are you trying to get Rails 1.0.4 + Engines + ActiveRbac engine to  
> work together?
> 
> If so I just accomplished this a couple hours ago.
> 
> I used:  
> Rails 1.0.4  
> latest gems update (if it matters)  
> engines from SVN (released version does not work with this combo)  
> ActiveRbac 0.3.2

Except using Rails 1.1.4, yes, I’m trying to get them to work together.  
If you notice, the error message shows that the plugin script was trying  
to install datebox\_engine directories within datebox\_engine directories  
in an infinite loop until hitting some defined limit in [ruby|rails].

I haven’t tested the svn co of engines and active\_rbac but I’m going to  
start right now. My concern is why the plugin script failed and what I  
can do to debug that issue. It concerns me that such an error occurs.  
Even if I work around it now, who’s to say it won’t come back and bite  
me later…  
Jonathan

---

<div class="post-metadata">

**Author:** ![jonathan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Post date:** [July 6, 2006, 11:34pm UTC](https://www.ruby-forum.com/t/problem-installing-engines/97276/4 "2006-07-06T23:34:04Z")

</div>

In my original e-mail I meant Rails 1.1.4 throughout. Sorry about the  
typos.

On 7/6/06, Jonathan [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > ActiveRbac 0.3.2  
> > me later…  
> > Jonathan
> 
> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> * * *
> 
> 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)

–  
Greg F.  
The Norcross Group  
Forensics for the 21st Century

---

<div class="post-metadata">

**Author:** ![jonathan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/aeb1de/32.png) [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Post date:** [July 7, 2006, 12:20am UTC](https://www.ruby-forum.com/t/problem-installing-engines/97276/5 "2006-07-07T00:20:08Z")

</div>

On 7/6/06, Jonathan [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > ActiveRbac 0.3.2  
> > me later…  
> > Jonathan
> 
> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> * * *
> 
> 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)

Jonathan,

Out of curiousity I just went thru the process on a virgin project:

rails engine\_test # Create an empty app  
cd engine\_test  
cd vendor/plugins/  
svn co [http://svn.rails-engines.org/engines/branches/rb\_1.1](http://svn.rails-engines.org/engines/branches/rb_1.1) engines  
cd …/…  
./script/plugin discover # This had a glitch, but I ignored it  
script/plugin install active\_rbac

Other than the one glitch in discovery it worked fine.

I’ve attached the script of me running thru it with all the feedback.  
Not that it really proves anything.

Also, I’m running Rails 1.1.4 and gem 0.9.0  
ie.

# gem --version

0.9.0

# rails --version

Rails 1.1.4

Not sure if either those are important to your issue.

Greg
