"Plugin not found"

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 L.

Hi Marc,

I’m having the same problem where you able to find a solution ?

On 27 фев, 17:44, amacgregor [email protected] wrote:

Hi Marc,

I’m having the same problem where you able to find a solution ?

On Feb 24, 4:30Â pm, Marc L. [email protected] 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 :slight_smile: so you’ll ges smth like:
…\vendor\plugins\rails-acts_as_list-8771a63*some
files*
rails will automatically load it when runs! :slight_smile:

On Feb 27, 9:44 am, amacgregor [email protected] 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 L.

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 L.
absynthe minded web smithes
http://www.absynthe.us/

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

Thank you Ahmed Mohamed.

I really wish there was more collection of such solution for Windows
platform on the Web.
Good job.

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