码迷,mamicode.com
首页 > 其他好文 > 详细

bootstrap4搭建绿色编译环境 本地文档 重新编译

时间:2020-04-20 10:28:06      阅读:78      评论:0      收藏:0      [点我收藏+]

标签:图片   http   mac   res   https   remove   ESS   code   done   

1.安装nodejs

这个简单官网下载一个版本就ok了。

2.安装ruby

注意下载带devkit的版本

技术图片

技术图片

替换gem的镜像

gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/
E:\learnResouce\bootstrap-4.4.1>gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/
https://gems.ruby-china.com/ added to sources
https://rubygems.org/ removed from sources
E:\learnResouce\bootstrap-4.4.1>gem sources -l
*** CURRENT SOURCES ***

https://gems.ruby-china.com/
E:\learnResouce\bootstrap-4.4.1>gem update --system
Updating rubygems-update
Fetching: rubygems-update-2.7.7.gem (100%)
Successfully installed rubygems-update-2.7.7
Parsing documentation for rubygems-update-2.7.7
Installing ri documentation for rubygems-update-2.7.7
Installing darkfish documentation for rubygems-update-2.7.7
Done installing documentation for rubygems-update after 28 seconds
Parsing documentation for rubygems-update-2.7.7
Done installing documentation for rubygems-update after 0 seconds
Installing RubyGems 2.7.7
Bundler 1.16.2 installed
RubyGems 2.7.7 installed
Regenerating binstubs
Parsing documentation for rubygems-2.7.7
Installing ri documentation for rubygems-2.7.7
........

3.WEBPACK的部署安装

npm i -g webpack

4.在Ruby里安装jekyll

E:\learnResouce\bootstrap-4.4.1>gem install jekyll bundler
Fetching: public_suffix-4.0.4.gem (100%)
Successfully installed public_suffix-4.0.4
Fetching: addressable-2.7.0.gem (100%)
Successfully installed addressable-2.7.0
Fetching: colorator-1.1.0.gem (100%)
Successfully installed colorator-1.1.0
Fetching: http_parser.rb-0.6.0.gem (100%)
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
Successfully installed http_parser.rb-0.6.0
Fetching: eventmachine-1.2.7-x64-mingw32.gem (100%)
Successfully installed eventmachine-1.2.7-x64-mingw32
Fetching: em-websocket-0.5.1.gem (100%)
Successfully installed em-websocket-0.5.1
Fetching: concurrent-ruby-1.1.6.gem (100%)
Successfully installed concurrent-ruby-1.1.6
Fetching: i18n-1.8.2.gem (100%)
.........

bootstrap4搭建绿色编译环境 本地文档 重新编译

标签:图片   http   mac   res   https   remove   ESS   code   done   

原文地址:https://www.cnblogs.com/qiaoy/p/12736177.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!