Forum: Ruby on Rails "Plugin not found"

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.
5d2711b3432428d05de177773e74baf5?d=identicon&s=25 Marc Luzietti (Guest)
on 2010-02-24 21:41
(Received via mailing list)
I'm using Ruby 1.8.7 and Rails 2.3.5. I'm in a Windows XP environment.

Whenever I run ruby script/plugin install yada/yada/yada I get:

Plugin not found ["yada yada yada]"

It doesn't matter if I use git://, http://git., http://svn, with or
without a trailing slash, or even if I download the source code
directly to vendor/plugins and give the path. It always fails.

I've had this problem today with both attachment_fu and will_paginate.

Marc Luzietti
1fe49f72be92d50d555b67386dc05fb7?d=identicon&s=25 amacgregor (Guest)
on 2010-02-27 15:45
(Received via mailing list)
Hi Marc,

I'm having the same problem where you able to find a solution ?
C703c5045e663f2d1cc5a4a6a95e888e?d=identicon&s=25 Romero (Guest)
on 2010-03-01 00:05
(Received via mailing list)
On 27 фев, 17:44, amacgregor <d...@allanmacgregor.com> wrote:
> Hi Marc,
>
> I'm having the same problem where you able to find a solution ?
>
> On Feb 24, 4:30 pm, Marc Luzietti <absyn...@gmail.com> wrote:

I had the same problem with acts_as_list and acts_as_tree plugins.
i actually broke my head on it!!!!!

finally i solved it by manually installing plugins in   /"my project's
folder"/vendor/plugins

just download your plugin from github (i did it from here) as a source
code archive and unzip it where i told you :) so you'll ges smth like:
                ....\vendor\plugins\rails-acts_as_list-8771a63\*some
files*
rails will automatically load it when runs! :)
5d2711b3432428d05de177773e74baf5?d=identicon&s=25 Marc Luzietti (Guest)
on 2010-03-02 21:55
(Received via mailing list)
On Feb 27, 9:44 am, amacgregor <d...@allanmacgregor.com> wrote:
> > Whenever I run ruby script/plugininstallyada/yada/yada I get:
>
> > Pluginnot found ["yada yada yada]"
>
> > It doesn't matter if I use git://,http://git.,http://svn, with or
> > without a trailing slash, or even if I download the source code
> > directly to vendor/plugins and give the path. It always fails.
>
> > I've had this problem today with both attachment_fu and will_paginate.
>
> > Marc Luzietti

The solution for me was to download Bitnami's Rubystack, and do my
development through it. After that, the known work around, using
http://svn.....git/ with the trailing slash after .git works for me.

--
Marc Luzietti
absynthe minded web smithes
http://www.absynthe.us/
02a99053b6be3619ae4033735a59558f?d=identicon&s=25 tommy (Guest)
on 2010-03-12 23:05
(Received via mailing list)
I had same problem two days ago, and finally I figured it out my
problem. I have window xp too.

step 1) download and install git.
step 2) use gitbash to setup SSH, it will generate a publich key and
you have to register this publish key in github.com with your email
account. then you will have secured connection when you install those
plugin.
step 3) in gitblash,  script/install plugin
git://github.com/bla/bla/bla.git.


Tommy
744aac36fedb63e248f3ac42cefac48e?d=identicon&s=25 Ahmed Mohamed (ahmedsmohamed)
on 2010-03-31 12:09
just change
stream.reopen(RUBY_PLATFORM =~ /mswin/ ? 'NUL:' : '/dev/null')
into
stream.reopen('NUL:')

this because when you type in the console

ruby --version
gives
ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32]

in the
C:\Ruby\lib\ruby\gems\1.8\gems\activesupport-2.3.5\lib\active_support\core_ext\kernel\reporting.rb

it checks
stream.reopen(RUBY_PLATFORM =~ /mswin/ ? 'NUL:' : '/dev/null')

so the i386-mingw32 does contains mswin so it always use '/dev/null' but
it should use 'NUL:' in windows to just change
stream.reopen(RUBY_PLATFORM =~ /mswin/ ? 'NUL:' : '/dev/null')
into
stream.reopen('NUL:')

and it will works
C210dcd3728c665d1f422b22cb5eb8f4?d=identicon&s=25 Alexander S. (Guest)
on 2010-04-05 11:54
(Received via mailing list)
Thank you Ahmed Mohamed.

I really wish there was more collection of such solution for Windows
platform on the Web.
Good job.
This topic is locked and can not be replied to.