- 浏览: 6027 次
最新评论
-
jiafuguang:
不能用啊 搜不出来啊
Rails 快速配置sunspot
文章列表
Step1:新建项目
Step2:脚手架
rails generate scaffold Post name:string title:string content:text
Step3:数据库变更
rake db:migrate
Step4: 加入gem包
gem 'sunspot_rails'
gem 'sunspot_solr' # optional pre-packaged Solr distribution for use in development
Step5:
rails generate sunspot_rails:install
Step6: ...
首先官网下载http://www.sourcegear.com/diffmerge/,直接安装即可
然后在console里面执行:
git config --global diff.tool diffmerge
git config --global difftool.diffmerge.cmd 'diffmerge "$LOCAL" "$REMOTE"'
git config --global merge.tool diffmerge
git config --global mergetool.diffmerge.cmd 'diffmerg ...