Two things are troubling me:

1) I haven't installed any git client software on my Ubuntu machine.
That said, I read that script/plugin handles the fetching of code from
the git repository and therefore I assume it is not necessary to
install any git client software.

2) I have upgraded from Rails 1.2.6 to 2.2.2 (and made the necessary
changes to my application) but I am concerned that the script/plugin
code is the same that was generated when I first generated my
application using Rails 1.2.6, and thus may not support git (as I
assume in (1)).



On 21 Jan, 21:35, Jason Roelofs <jameskil...@gmail.com> wrote:
> Hmm, that's odd. It ran perfectly fine for me.
>
> What happens when you do a straight clone of the project ( git clone
> git://github.com/rails/in_place_editing.git ) ?
>
> Here's my command and output:
>
> roel...@trillian (svn) [master]~/proj $ ./script/plugin --verbose
> install git://github.com/rails/in_place_editing.git
> Plugins will be installed using http
> git init
> Initialized empty Git repository in
> /home/roelofs/proj/vendor/plugins/in_place_editing/.git/
> git pull --depth 1 git://github.com/rails/in_place_editing.git
> Unpacking objects: 100% (18/18), done.
> remote: Counting objects: 18, done.
> remote: Compressing objects: 100% (14/14), done.
> remote: Total 18 (delta 4), reused 17 (delta 4)
> From git://github.com/rails/in_place_editing
>  * branch            HEAD       -> FETCH_HEAD
> removing: .git
>
> Jason
>
> On Wed, Jan 21, 2009 at 3:58 PM, lee.longm...@googlemail.com
>
> <lee.longm...@googlemail.com> wrote:
>
> > Thanks for the response. So I tried:
>
> >  ./script/plugin --verbose install 
> > git://github.com/rails/in_place_editing.git
>
> > and the following was output to my console:
>
> > Plugins will be installed using http
> > git init
> > git pull --depth 1 git://github.com/rails/in_place_editing.git
>
> > But I still do not see anything in my plugins directory.
>
> > What is the 'git' command in the above? Do I need to install this
> > first?
>
> > On 21 Jan, 20:43, Jason Roelofs <jameskil...@gmail.com> wrote:
> >> The command on the site is slightly wrong. You're missing the ".git"
> >> at the end. You need to use the full "git clone URL" when installing a
> >> plugin. You'll see this link on the project page:
>
> >>http://github.com/rails/in_place_editing
>
> >> from which you need to run the command:
>
> >> script/plugin install git://github.com/rails/in_place_editing.git
>
> >> Jason
>
> >> On Wed, Jan 21, 2009 at 3:34 PM, lee.longm...@googlemail.com
>
> >> <lee.longm...@googlemail.com> wrote:
>
> >> > I should add that I am developing on an Ubuntu system and using svn to
> >> > manage my code.
>
> >> > On 21 Jan, 20:33, "lee.longm...@googlemail.com"
> >> > <lee.longm...@googlemail.com> wrote:
> >> >> I have tried issuing the following command:
>
> >> >> ./script/plugin --verbose 
> >> >> installhttp://github.com/rails/in_place_editing.git
>
> >> >> and I get:
>
> >> >> Plugins will be installed using http
> >> >> git init
> >> >> git pull --depth 1http://github.com/rails/in_place_editing.git
>
> >> >> But again, I do not see any plugin under my vendor/plugins directory.
>
> >> >> On 21 Jan, 20:05, "lee.longm...@googlemail.com"
>
> >> >> <lee.longm...@googlemail.com> wrote:
> >> >> > I am trying to install the in_place_editing plugin from github.
>
> >> >> > I have looked athttp://railswheels.com/in-place-editingandit
> >> >> > suggests the following command:
>
> >> >> > ./script/plugin install git://github.com/rails/in_place_editing
>
> >> >> > I have tried this and nothing happens e.g. './script/plugin list' does
> >> >> > not return anything.
>
> >> >> > Are there some prerequisites that I am overlooking?
>
> >> >> > Do I have any other options? It concerns me that my ./script/plugin
> >> >> > commands do not seem to be working - a result of an upgrade problem
> >> >> > perhaps ? ( I have recently upgraded my application to Rails 2.2.2 )
>
> >> >> > Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to