首先添加gem源
查看gem源
安装 mislav-will_paginate
gem sources -a http://gems.github.com
查看gem源
gem sources
安装 mislav-will_paginate
gem install mislav-will_paginate