Plugins - Gems, not working?


#1

Hi,

I have just installed the Gems pluign, however when everI attempt to
start rails now I get the following error.

Am I missing some code or is there a stage I have missed to get this
wokring?

Thanks
tom

=> Booting WEBrick…
./script/…/config/…/vendor/plugins/gems/init.rb:10:in load_plugin': undefined methodload_paths’ for Dependencies:Module (NoMethodError)
from ./script/…/config/…/vendor/plugins/gems/init.rb:5:in
`load_plugin


#2

On 1/16/07, tom removed_email_address@domain.invalid wrote:

tom

=> Booting WEBrick…
./script/…/config/…/vendor/plugins/gems/init.rb:10:in load_plugin': undefined methodload_paths’ for Dependencies:Module (NoMethodError)
from ./script/…/config/…/vendor/plugins/gems/init.rb:5:in
`load_plugin

Oh, it probably requires Rails 1.2


Rick O.
http://weblog.techno-weenie.net
http://mephistoblog.com


#3

Oh, it probably requires Rails 1.2


Rick O.
http://weblog.techno-weenie.net
http://mephistoblog.com

ok cool,

is anyone aware of any documentation available on how to deploy a gem
locally on a shared host?

Cheers


#4

On 1/16/07, tom removed_email_address@domain.invalid wrote:

is anyone aware of any documentation available on how to deploy a gem
locally on a shared host?

Cheers

The plugin is about 10 lines of code! the rake task will install it
just fine. The only thing that changed was how the plugin sets up the
lib paths. Use svn and rollback a few times and find a good revision:

http://bs.techno-weenie.net/!history/2660/plugins/gems?stop_revision=0

1177 should be fine for rails 1.1.6

http://bs.techno-weenie.net/!source/1177/plugins/gems/init.rb


Rick O.
http://weblog.techno-weenie.net
http://mephistoblog.com


#5

Thanks Rick :slight_smile: