Acts_as_list manual plugin install

Due to some corporate firewall difficulties I decided to go to my home
Mac and install the plugin in a rails project and then just copy the
plugin from the vendors/plugin folder to my (inside) corporate
project.

Is there a special registration that needs to take place somehow for
the plugin as rails doesn’t seem to recognize the method yet.

How do you run the “test” function that is in the plugin directory?

BTW, I’m just following along in the Rails Up and Running book’s
examples to execute through this.

Aerodame wrote:

Due to some corporate firewall difficulties I decided to go to my home
Mac and install the plugin in a rails project and then just copy the
plugin from the vendors/plugin folder to my (inside) corporate
project.

Is there a special registration that needs to take place somehow for
the plugin as rails doesn’t seem to recognize the method yet.

Often, yes. Copying plugins is rarely a good idea unless you remember
to run install.rb . Probably better to use script/plugin install with a
local path or a local repository URL.

And if you have corporate firewall difficulties, get them resolved now
(the http_proxy environment variable may be helpful on *nix). For
effective Rails development, you’re going to want working connections to
rubygems.org and Github.

How do you run the “test” function that is in the plugin directory?

There’s a Rake task – test:plugins or something like that.

BTW, I’m just following along in the Rails Up and Running book’s
examples to execute through this.

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]