Forum: Ruby on Rails Plugins - Gems, not working?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
0249df9ed664976466923428f33bcb60?d=identicon&s=25 tom (Guest)
on 2007-01-16 14:55
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
'
821395fe70906c8290df7f18ac4ac6cf?d=identicon&s=25 Rick Olson (Guest)
on 2007-01-16 15:46
(Received via mailing list)
On 1/16/07, tom <rails-mailing-list@andreas-s.net> 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 Olson
http://weblog.techno-weenie.net
http://mephistoblog.com
0249df9ed664976466923428f33bcb60?d=identicon&s=25 tom (Guest)
on 2007-01-16 17:37
> Oh, it probably requires Rails 1.2
>
> --
> Rick Olson
> 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
821395fe70906c8290df7f18ac4ac6cf?d=identicon&s=25 Rick Olson (Guest)
on 2007-01-16 22:14
(Received via mailing list)
On 1/16/07, tom <rails-mailing-list@andreas-s.net> 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/...

1177 should be fine for rails 1.1.6

http://bs.techno-weenie.net/!source/1177/plugins/g...

--
Rick Olson
http://weblog.techno-weenie.net
http://mephistoblog.com
0249df9ed664976466923428f33bcb60?d=identicon&s=25 tom (Guest)
on 2007-01-17 01:12
Thanks Rick :-)
This topic is locked and can not be replied to.