>  Q&A  >  본문

ruby - githubpages+jekyll搭建个人博客 再jekyll s时遇到问题

1.
想做个个人博客,装了git、ruby、gem、jekyll
装jekyll的过程:

gem install jekyll
cd d:website
jekyll new myweb
jekyll serve

fork了别人的一个博客,运行

jekyll serve

出现了以下错误:

D:/softwares/Ruby22-x64/lib/ruby/gems/2.2.0/gems/bundler-1.12.5/lib/bundler/spec_set.rb:95:in `block in materialize': Could not find RedCloth-4.2.9 in any of the sources (Bundler::GemNotFound)

但是奇怪的是,从gem list中查看,我已经装了redcloth。
gem list

bigdecimal (default: 1.2.6)
bundler (1.12.5)
colorator (1.1.0)
directory_watcher (1.5.1)
ffi (1.9.14 x64-mingw32)
forwardable-extended (2.6.0)
io-console (default: 0.4.3)
jekyll (3.2.1)
jekyll-paginate (1.1.0)
jekyll-sass-converter (1.4.0)
jekyll-watch (1.5.0)
json (default: 1.8.1)
kramdown (1.12.0, 0.13.8)
liquid (3.0.6, 2.4.1)
listen (3.0.8)
mercenary (0.3.6)
minitest (5.4.3)
pathutil (0.14.0)
power_assert (0.2.2)
psych (default: 2.0.8)
rake (default: 10.4.2)
rb-fsevent (0.9.7)
rb-inotify (0.9.7)
rdiscount (2.2.0.1)
rdoc (default: 4.2.0)
RedCloth (4.3.2)
rouge (1.11.1)
rubygems-update (2.6.6)
safe_yaml (1.0.4)
sass (3.4.22)
syntax (1.0.0)
test-unit (3.0.8)

对git和ruby不是很了解,也不知道是不是配置的顺序有错误,但是很想自己做个博客。
实在不知道怎么解决了,请教各位大神。

曾经蜡笔没有小新曾经蜡笔没有小新2709일 전1311

모든 응답(3)나는 대답할 것이다

  • 漂亮男人

    漂亮男人2017-04-25 09:03:31

    번들도 설치했습니다.
    hexo로 전환했습니다.
    hexo를 사용하는 과정에서 브라우저에
    localhost:4000
    를 입력했을 때 응답이 없다면 포트가 점유되어 있을 수 있다는 것을 발견했습니다.
    모두들 감사합니다.

    회신하다
    0
  • 巴扎黑

    巴扎黑2017-04-25 09:03:31

    bundle install

    회신하다
    0
  • ringa_lee

    ringa_lee2017-04-25 09:03:31

    그전에 jekyll serve이 실행이 안되는 문제가 발생했는데 jekyll-paginate이더군요. 그러다가 구글링해서 이 글을 재인쇄했습니다 https://dotos.github.io/jekyl...

    bundle

    으로 해결됨 으아아아

    회신하다
    0
  • 취소회신하다