undefined local variable or method `acts_as_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

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: GitHub - rails/acts_as_list: NOTICE: official repository moved to https://github.com/swanandp/acts_as_list

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

Did you restart the server afterwards ?

Fred

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.

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?