Forum: Ruby on Rails undefined local variable or method `acts_as_list'

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Jason N. (Guest)
on 2009-01-05 11:22
(Received via mailing list)
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

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
Frederick C. (Guest)
on 2009-01-05 11:24
(Received via mailing list)
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
>
> I have put the files in the vendor/plugins folder the files are as
> follows:
>
Did you restart the server afterwards ?

Fred
Tyler Crocker (Guest)
on 2009-01-06 03:25
(Received via mailing list)
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
John Y. (Guest)
on 2009-01-06 04:04
(Received via mailing list)
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?
This topic is locked and can not be replied to.