2007年12月4日 星期二

sortable column headers 安裝

安裝sortable column headers

基本上, 這樣應該是可以裝的
ruby script/plugin install https://svn.elctech.com/svn/public/sortable_column_headers/

不過作者說了
whoever is maintaining our SVN repository is trying to do something
clever with HTTPS and it isn't working 100% yet :) Try grabbing it
directly from our repository into your Rails app with Subversion like
this (you should execute this command from within your Rails app's root
directory): svn export https://svn.elctech.com/svn/public/sortable_column_headers ./vendor/plugins/sortable_column_headers

所以我們得先安裝SVN才行, 這時可以參可這篇如何在Windows Console下使用命令svn

手動或者綠色安裝svn命令軟件Subversion:

下載軟件版本1.4.3:http://subversion.tigris.org/downloads/svn-win32-1.4.3.zip

安裝方法:7z x svn-win32-1.4.3.zip
mv svn-win32-1.4.3 c:\programme\.
SET SVN_HOME=c:\programme\svn-win32-1.4.3
SET PATH=%PATH%;%SVN_HOME%\bin

這時便可以到你的app(rails_apps\YourApp)下執行

svn export https://svn.elctech.com/svn/public/sortable_column_headers ./vendor/plugins/sortable_column_headers




順邊參考如何安裝Plugin/Engines

沒有留言: