"Plugin not found"


#1

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.


#2

Hi Marc,

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


#3

On 27 фев, 17:44, amacgregor removed_email_address@domain.invalid wrote:

Hi Marc,

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

On Feb 24, 4:30Â pm, Marc L. removed_email_address@domain.invalid 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:


#4

On Feb 27, 9:44 am, amacgregor removed_email_address@domain.invalid 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/


#5

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


#6

Thank you Ahmed Mohamed.

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


#7

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