解决Starting to watch source with Jekyll and Compass. Starting Rack on port 4000
2016-01-21 22:42
435 查看
问题
解决
vi Gemfile
执行下面代码
出现ssl问题
Could not load OpenSSL.
You must recompile Ruby with OpenSSL support or change the sources in your Gemfile from 'https' to 'http'. Instructions
for compiling with OpenSSL using RVM are available at rvm.io/packages/openssl.
执行下面代码
Starting to watch source with Jekyll and Compass. Starting Rack on port 4000 rake aborted! Errno::ENOENT: No such file or directory - jekyll /Users/apple/Desktop/Project/Blog/jackyshan.github.io/Rakefile:84:in `spawn' /Users/apple/Desktop/Project/Blog/jackyshan.github.io/Rakefile:84:in `block in <top (required)>' Tasks: TOP => preview (See full trace by running task with --trace)
解决
vi Gemfile
更改source
source "https://rubygems.org" group :development do gem 'rake', '~> 10.0' gem 'jekyll', '~> 2.0' gem 'octopress-hooks', '~> 2.2' gem 'octopress-date-format', '~> 2.0' gem 'jekyll-sitemap' gem 'rdiscount', '~> 2.0' gem 'RedCloth', '~> 4.2.9' gem 'haml', '~> 4.0' gem 'compass', '~> 1.0.1' gem 'sass-globbing', '~> 1.0.0' gem 'rubypants', '~> 0.2.0' gem 'rb-fsevent', '~> 0.9' gem 'stringex', '~> 1.4.0' end gem 'sinatra', '~> 1.4.2'
执行下面代码
sudo gem install bundler rbenv rehash bundle install
出现ssl问题
Could not load OpenSSL.
You must recompile Ruby with OpenSSL support or change the sources in your Gemfile from 'https' to 'http'. Instructions
for compiling with OpenSSL using RVM are available at rvm.io/packages/openssl.
执行下面代码
相关文章推荐
- c# PrintDocument 设置自定义纸张大小的示例
- Firemonkey 使用 TImage 显示动画图片
- Charles抓包(http/https请求)
- 无法把指针变量本身传递给一个函数
- Homebrew命令详解
- Struts中Validate()和validateXxx的使用
- Java的位运算符详解实例——与(&)、非(~)、或(|)、异或(^)
- SQL 索引
- Oracle hint
- 最大子数组
- 设置显示两个ActionBar以及设置Menu显示图标
- Android多屏适配
- 安卓事件拦截机制分析
- 人总会有无奈和彷徨的时候,这个时候你就需要一盏明灯。
- MySQL 5.6 免安装版压缩版配置安装
- yii 提交表单 400 bad request问题
- linux系统启动故障
- cookie 巩固
- shell中$0,$?,$!等的特殊用法
- 尼科彻斯定理