Hello,
Foremost thank you for the nice theme you provided for usage with such a convenient license!
I am new to jekyll, having come from a fairly recent HTML/CSS/JS background, as well as ASP NET MVC and Angular. I liked this theme for my learning and own usage (if succeed in going through the learning curve)
I've just come across a problem. Below the explanation of my process:
I recently installed ruby, rubygems, and jekyll in a Windows 8.1 (x64) box, ran jekyll, created a new website from scratch, and everything went just fine.
Then I found your theme, I cloned it locally to my box, and started tinkering with it.
My first problem was that I installed bundler and the theme's dependencies globally, and most of the gems I had from previous jekyll installation got duplicated to a lesser version. Could not get the jekyll serve command to work and first thought about the duality in versions for some gems.
I reasoned that uninstalling all dependencies installed with bundler, repairing the latest jekyll I had - which is version 2.5.3 at present - and installing dependencies by project would fix the issue. I followed this stackoverflow answer on bundler to install bundler's dependencies by project instead (not globally).
So for this jekyll theme I installed all gem dependencies using bundler, on the vendor\bundle folder.
It added all of them, including jekyll 2.4.0.
The problem was not fixed, there are two parts to it:
First, when executing jekyll serve
, there is an exception displayed, related to mercenary gem (below the stack trace). You will notice is trying to use the global jekyll 2.5.3 gem:
E:\jekyll-Sites\portfolio [master +9 ~5 -0 !]> jekyll serve --watch
Configuration file: E:/jekyll-Sites/portfolio/_config.yml
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:29:in require': cannot load such file -- jekyll-sitemap (LoadError) from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:29:in
block in require_gems'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:26:in each' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:26:in
require_gems'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:19:in conscientious_require' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:79:in
setup'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:41:in initialize' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/commands/build.rb:29:in
new'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/commands/build.rb:29:in process' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/commands/serve.rb:26:in
block (2 levels) in init_with_program'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in call' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in
block in execute'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in each' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in
execute'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mercenary-0.3.5/lib/mercenary/program.rb:42:in go' from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mercenary-0.3.5/lib/mercenary.rb:19:in
program'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/bin/jekyll:20:in <top (required)>' from C:/Ruby21-x64/bin/jekyll:23:in
load'
from C:/Ruby21-x64/bin/jekyll:23:in `
'
Second, when running the bundle exec jekyll serve
command, for some strange reason the command is trying to call the post markdown file template located in the vendor\bundle jekyll 2.4.0 path:
E:\jekyll-Sites\portfolio [master +9 ~5 -0 !]> bundle exec jekyll serve
DL is deprecated, please use Fiddle
Configuration file: E:/jekyll-Sites/portfolio/_config.yml
Source: E:/jekyll-Sites/portfolio
Destination: E:/jekyll-Sites/portfolio/_site
Generating...
ERROR: YOUR SITE COULD NOT BE BUILT:
------------------------------------
Invalid date '0000-00-00': Post '/vendor/bundle/ruby/2.1.0/gems/jekyll-2.4.0/lib/site_template/_post
s/0000-00-00-welcome-to-jekyll.markdown.erb' does not have a valid date in the filename.
Here is the image of the above:
I already have posts files hosted on the theme, but they do not get referenced for serving the site.
I think this may not be a theme issue, but surely wanted to let know in order to get more light into this issue, and even get a resolution for this.
Thanks for your help in advance!