"Plugin not found"

187 views
Skip to first unread message

Marc Luzietti

unread,
Feb 24, 2010, 2:30:13 PM2/24/10
to Ruby on Rails: Talk
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

amacgregor

unread,
Feb 27, 2010, 9:44:46 AM2/27/10
to Ruby on Rails: Talk
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'm using Ruby 1.8.7 and Rails 2.3.5. I'm in aWindowsXP environment.


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

Romero

unread,
Feb 28, 2010, 2:40:02 PM2/28/10
to Ruby on Rails: Talk

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! :)

Marc Luzietti

unread,
Mar 2, 2010, 3:52:50 PM3/2/10
to Ruby on Rails: Talk

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/

tommy

unread,
Mar 12, 2010, 12:43:33 PM3/12/10
to Ruby on Rails: Talk
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

On Feb 28, 1:40 pm, Romero <ximik...@gmail.com> wrote:
> 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 yourpluginfrom github (i did it from here) as a source

Ahmed Mohamed

unread,
Mar 31, 2010, 6:09:33 AM3/31/10
to rubyonra...@googlegroups.com
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

--
Posted via http://www.ruby-forum.com/.

Alexander S.

unread,
Apr 4, 2010, 7:38:49 PM4/4/10
to Ruby on Rails: Talk
Thank you Ahmed Mohamed.

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

Reply all
Reply to author
Forward
0 new messages