# Undefined local variable or method \`acts\_as\_list'

**URL:** <https://www.ruby-forum.com/t/undefined-local-variable-or-method-acts-as-list/156917>\
**Category:** Rails\
**Created:** [January 5, 2009, 10:22am UTC](https://www.ruby-forum.com/t/undefined-local-variable-or-method-acts-as-list/156917 "2009-01-05T10:22:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![quangn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/e47774/32.png) [@quangn](https://www.ruby-forum.com/u/quangn)\
**Post date:** [January 5, 2009, 10:22am UTC](https://www.ruby-forum.com/t/undefined-local-variable-or-method-acts-as-list/156917/1 "2009-01-05T10:22:57Z")

</div>

So I seem to be having an issue with trying to install acts\_as\_list in  
rails 2.2.2?

I have downloaded the files from:

> **[GitHub - rails/acts\_as\_list: NOTICE: official repository moved to...](https://github.com/rails/acts_as_list/tree/master)**
>
> master

I have put the files in the vendor/plugins folder the files are as  
follows:

vendor/plugins/acts\_as\_list/init.rb  
vendor/plugins/acts\_as\_list/lib/active\_record/acts/list.rb  
vendor/plugins/acts\_as\_list/test/list\_test.rb  
vendor/plugins/acts\_as\_list/README

So now that they are downloaded I go into my project directory and  
try: “ruby script/plugin install acts\_as\_list”  
I get: " Plugin not found: [“acts\_as\_list”] "

Is there a trick to getting this going in Rails 2.2.2?

TIA

---

<div class="post-metadata">

**Author:** ![quangn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/e47774/32.png) [@quangn](https://www.ruby-forum.com/u/quangn)\
**Post date:** [January 5, 2009, 10:24am UTC](https://www.ruby-forum.com/t/undefined-local-variable-or-method-acts-as-list/156917/2 "2009-01-05T10:24:43Z")

</div>

jgervin wrote:

> So I seem to be having an issue with trying to install acts\_as\_list in  
> rails 2.2.2?
> 
> I have downloaded the files from: [http://github.com/rails/acts\_as\_list/tree/master](http://github.com/rails/acts_as_list/tree/master)
> 
> I have put the files in the vendor/plugins folder the files are as  
> follows:

Did you restart the server afterwards ?

Fred

---

<div class="post-metadata">

**Author:** ![quangn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/e47774/32.png) [@quangn](https://www.ruby-forum.com/u/quangn)\
**Post date:** [January 6, 2009, 2:25am UTC](https://www.ruby-forum.com/t/undefined-local-variable-or-method-acts-as-list/156917/3 "2009-01-06T02:25:03Z")

</div>

I just read a post on the not but 5 seconds ago, the guy had to restart  
his  
computer, as restarting server didn’t seem to do it.

On Mon, Jan 5, 2009 at 1:24 AM, Frederick C.  
\<removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![quangn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/e47774/32.png) [@quangn](https://www.ruby-forum.com/u/quangn)\
**Post date:** [January 6, 2009, 3:04am UTC](https://www.ruby-forum.com/t/undefined-local-variable-or-method-acts-as-list/156917/4 "2009-01-06T03:04:48Z")

</div>

It sounds like you’ve already manually installed the plugin… but to  
use script/plugin install you need to specify the repository for  
plugins at Github.  
script/plugin install git://github.com/rails/acts\_as\_list.git  
I believe the only difference between manually copying the source  
files and installing via script/plugin install is that install.rb is  
run in with the latter. In your case, acts\_as\_list doesn’t have an  
install.rb file, so it doesn’t matter.

anyways…

Have you just started your app and tested if act\_as\_list is working?
