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 )
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:
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)).
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.
Hi, like I said in another similar thread, you can simply download the
tarball or zipfile and extract the archive in your plugins folder, and
the plugin is installed. Installing git is however preferable and easier
for future updates.
This isn't true 100% of the time. Quite a few plugins rely on the
installation phase of script/plugin install to push config files / js
/ css / etc files up into the main Rails workspace. Just untarring
into your vendor/plugins does not run this installation process.
Thus, use script/plugin install. Make sure you have the binaries
installed for whatever SCM you use (SVN / git / etc).
I use a remote subversion repository to manage my application code,
and access it through my IDE or the command line using svn client
programs.
I assume though that I need to install git client programs (git-core?)
in order for script/plugin to be able to retrieve the in_place_editing
plugin from the Rails github repository. Correct?
Having retrieved it, I would then add it to my svn repository as I
would any file that I create.
I am having the same issue but on mac (leopard and rails 2.2), I
installed git but still I have no success installing plugin from the
git site. Any suggestions?
My experience was even worse. That worse that I started to dislike git
a lot. RoR is about keeping things simple and clear: now we have and
http, and svn, AND git for installing plugins, and some of it works
sometimes, but not always, and you need to install something else
first, etc. NOT a good evolution, if this goes on. The best way to
make a programming language less populair is make it cluttered,
complicated, illogical and unstable. Git is starting to do all that
for me. Hope it changes for the better.