bundler for jekyll
<meta name="description" content="使用 bundler 管理安装依赖库,方便我们对依赖库的查看管理,这里以在文章 create new post with jekyll 需要安装的依赖库 stringex 为例:">
</head>
</body>
Dec 25, 2014 • CoderSimple 原文传送阵
使用 bundler 管理安装依赖库,方便我们对依赖库的查看管理,这里以在文章 create new post with jekyll 需要安装的依赖库 stringex 为例:
- 安装 bundler:
gem install bundler 在新建的工程目录下创建 Gemfile(jekyll 在使用 bundler 时必须在这里指定,否则无法运行)
source "http://rubygems.org" group :development do gem 'jekyll' gem 'stringex' end- 安装依赖:
bundle install - 查看已经安装的依赖
bundle show - 删除依赖:
bundle uninstall [name]

浙公网安备 33010602011771号