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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Frederick Cheung
2009-Jan-05 09:24 UTC
Re: undefined local variable or method `acts_as_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> 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Tyler Crocker
2009-Jan-06 01:24 UTC
Re: undefined local variable or method `acts_as_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 Cheung <frederick.cheung-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > > 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 > > 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 > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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? On Jan 4, 5:58 pm, jgervin <jger...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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: > > 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--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---