# Plugins - Gems, not working?

**URL:** <https://www.ruby-forum.com/t/plugins-gems-not-working/81954>\
**Category:** Rails\
**Created:** [January 16, 2007, 2:55pm UTC](https://www.ruby-forum.com/t/plugins-gems-not-working/81954 "2007-01-16T14:55:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@tom](https://www.ruby-forum.com/u/tom)\
**Post date:** [January 16, 2007, 2:55pm UTC](https://www.ruby-forum.com/t/plugins-gems-not-working/81954/1 "2007-01-16T14:55:15Z")

</div>

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 method`load\_paths’ for Dependencies:Module (NoMethodError)  
from ./script/…/config/…/vendor/plugins/gems/init.rb:5:in  
`load\_plugin  
’

---

<div class="post-metadata">

**Author:** ![tom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@tom](https://www.ruby-forum.com/u/tom)\
**Post date:** [January 16, 2007, 3:46pm UTC](https://www.ruby-forum.com/t/plugins-gems-not-working/81954/2 "2007-01-16T15:46:08Z")

</div>

On 1/16/07, tom [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> tom
> 
> =\> Booting WEBrick…  
> ./script/…/config/…/vendor/plugins/gems/init.rb:10:in `load_plugin': undefined method `load\_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://weblog.techno-weenie.net)  
[http://mephistoblog.com](http://mephistoblog.com)

---

<div class="post-metadata">

**Author:** ![tom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@tom](https://www.ruby-forum.com/u/tom)\
**Post date:** [January 16, 2007, 5:37pm UTC](https://www.ruby-forum.com/t/plugins-gems-not-working/81954/3 "2007-01-16T17:37:11Z")

</div>

> Oh, it probably requires Rails 1.2
> 
> –  
> Rick O.  
> [http://weblog.techno-weenie.net](http://weblog.techno-weenie.net)  
> [http://mephistoblog.com](http://mephistoblog.com)

ok cool,

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

Cheers

---

<div class="post-metadata">

**Author:** ![tom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@tom](https://www.ruby-forum.com/u/tom)\
**Post date:** [January 16, 2007, 10:14pm UTC](https://www.ruby-forum.com/t/plugins-gems-not-working/81954/4 "2007-01-16T22:14:36Z")

</div>

On 1/16/07, tom [removed\_email\_address@domain.invalid](mailto: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](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](http://bs.techno-weenie.net/!source/1177/plugins/gems/init.rb)

–  
Rick O.  
[http://weblog.techno-weenie.net](http://weblog.techno-weenie.net)  
[http://mephistoblog.com](http://mephistoblog.com)

---

<div class="post-metadata">

**Author:** ![tom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@tom](https://www.ruby-forum.com/u/tom)\
**Post date:** [January 17, 2007, 1:12am UTC](https://www.ruby-forum.com/t/plugins-gems-not-working/81954/5 "2007-01-17T01:12:29Z")

</div>

Thanks Rick 🙂
