Unable to install plugins from github

Hi All, My operating system is FC11...I tried to install will_paginate from github directly like this -

script/plugin install git://github.com/mislav/will_paginate.git

But I get an error saying

[ckkashyap@KingCobra test_plugin]$ script/plugin install git://github.com/mislav/will_paginate.git Plugin not found: ["git://github.com/mislav/will_paginate.git"]

I have git on my machine - I even ran "gem install git" which installed something but I continue to get this error.

I managed to install will_paginate by downloading the plugin and creating a gem and using gem install...However, I am stuck with wice_grid and some other plugins!

I tried downloading wice_grid and copying it to the vendors/plugins dir ... but that does not seem to work ( require 'wice_plugin' in environment.rb bombs)

I'd appreciate any help with this.

Did you read the install documentation on github? It gives complete different install instructions than the one you're using. http://wiki.github.com/mislav/will_paginate/installation

Did you read the install documentation on github? It gives complete different install instructions than the one you're using. http://wiki.github.com/mislav/will_paginate/installation

Yes I did, and that's how I managed to install will_paginate - however, I am stuck when it comes to other plugins on github - wice_grid for example .... I've added gems.github.com in the sources -

[ckkashyap@KingCobra test_plugin]$ gem sources *** CURRENT SOURCES ***

http://gems.rubyforge.org/ http://gems.github.com

But when I do - [ckkashyap@KingCobra lab]$ gem install leikind-wice_grid ERROR: could not find gem leikind-wice_grid locally or in a repository

Is there something I am missing?

Yes, The docs for that gem.

Either you mispelled the name or that gem doesn't exist. Check the docs, if the docs doesn't work or doesn't exists, then provide more information about the gem here and maybe somebody can help you.

Yes, The docs for that gem.

Either you mispelled the name or that gem doesn't exist. Check the docs, if the docs doesn't work or doesn't exists, then provide more information about the gem here and maybe somebody can help you.

This is the git repository that I am trying to install - git://github.com/leikind/wice_grid.git

First problem is that I am not able to install using script/plugin - ./script/plugin install git://github.com/leikind/wice_grid.git does not work for me

I am thinking of the alternative of downloading the tgz and unzipping it under vendors/plugins ... What steps do I need to take for that?

Maybe there's something wrong with your environment. I could install it, really straightforward.

Here's my screenshot http://twitpic.com/kcoyh/full

Leonardo Mateo. There's no place like ~

Maybe there's something wrong with your environment. I could install it, really straightforward.

Here's my screenshot Twitpic

Thats the frustrating part :slight_smile: ... everywhere I look, they say about ./script/plugin install git...

just does not work for me ... I am going to do strace to see what's happening...

meanwhile, any tips on installing the tar gz would help.

What is your environment? Are you able to just clone the repository (without installing the plugin)?

just does not work for me ... I am going to do strace to see what's happening...

What is your environment? Are you able to just clone the repository (without installing the plugin)?

I'm on FC11 with ruby 1.9 and rails 2.3.4

I am able to clone the git repository using git clone -works just fine.

There is a problem with script/plugin install git://... on Ruby 1.9. You can see: https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2018 for details on how to patch rails. Fix is due with 2.3.5

Thank you very very much!!!

you're welcome