OkinawaDevOps / okinawadevops.github.com

http://okinawadevops.github.io/
0 stars 0 forks source link

rake preview できなかった件 #78

Open yamanetoshi opened 10 years ago

yamanetoshi commented 10 years ago

なんか Gemfile に

gem 'rake'

を追加しないと駄目だったり、_config.yml の exclude に "vendor" を追加しなければならなかったりしたのですが

 -exclude: [".rvmrc", ".rbenv-version", "README.md", "Rakefile", "changelog.md"]
 +exclude: ["vendor", ".rvmrc", ".rbenv-version", "README.md", "Rakefile", "changelog.md"]

他の方々は

$ bundle exec rake preview

って正常に動作してますか?

takumikinjo commented 10 years ago

自分も本日 rake preview できずハマりました。ちと違う事案かもしれませぬが。

自分のは最初 bundle install --path vendor/bundle でインストールして、これがダメで、以下なエラーで rake preview が停止。

     ERROR: YOUR SITE COULD NOT BE BUILT:
        ------------------------------------
        Post '/vendor/bundle/ruby/2.0.0/gems/jekyll-2.0.3/lib/site_template/0000-00-00-welcome-to-jekyll.markdown.erb' does not have a valid date. Fix the date, or exclude the file or directory from being processed

gem install jekyll で入れなおすと OK だったのですが。はてさて

yamanetoshi commented 10 years ago

あ、これまさに同じ現象でした。

jekyll 入れなおし、が解なのか。。。

rubygem ってまだまだ微妙なんですね。。

On Sat, Sep 13, 2014 at 9:46 PM, Takumi Kinjo notifications@github.com wrote:

自分も本日 rake preview できずハマりました。ちと違う事案かもしれませぬが。

自分のは最初 bundle install --path vendor/bundle でインストールして、これがダメで、以下なエラーで rake preview が停止。

 ERROR: YOUR SITE COULD NOT BE BUILT:
    ------------------------------------
    Post '/vendor/bundle/ruby/2.0.0/gems/jekyll-2.0.3/lib/site_template/0000-00-00-welcome-to-jekyll.markdown.erb' does not have a valid date. Fix the date, or exclude the file or directory from being processed

gem install jekyll で入れなおすと OK だったのですが。はてさて

— Reply to this email directly or view it on GitHub https://github.com/OkinawaDevOps/okinawadevops.github.com/issues/78#issuecomment-55492977 .

Regards,

YAMANE Toshiaki

yamanetoshi commented 10 years ago

pull request してみようかな。。

Gemfile の jekyll な記述にバージョン情報追加するのとどっちが良いでしょ。

y0t4 commented 10 years ago

解決しているっぽい(?)ですが、 僕は特に問題なく bundle exec rake preview できました。 一応報告しておきます。