GithubHelp home page GithubHelp logo

sverrirs / jekyllonwindows Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 1.0 80 KB

Step by step guide on how to run Jekyll 3, static site generator in Ruby >2.0.0 on Windows.

Home Page: https://labs.sverrirs.com/jekyll/

License: Other

HTML 36.41% Ruby 5.20% CSS 58.39%

jekyllonwindows's People

Contributors

sverrirs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

xgqfrms-github

jekyllonwindows's Issues

Typos and other errors..

Hi sverrirs,
Great job on the documentation. However I found a few errors in it..
Namely:

  • 1-ruby-and-devkit.md has Jenkyl gem in the pagination.. also in 3-syntax-highlighting.md..
  • --watch on jekyll4windows broke only in 3.3.0.. its fine in 3.1.6 ~> 3.2.x. I dont know about <3.1.6

3.5.1 various version conflicts - solved

install following the tutorial, and when launchin get those errors:

Could not find sass-3.4.25
(was 3.5.1, installed that version)

Could not find jekyll-3.5.0
(downgraded from 3.5.1)

Could not find minima-2.1.1
(not present, installed that theme)

Could not find thread_safe-0.3.6
(not present, installed that version)

Could not find tzinfo-1.2.3 tzinfo 1.2.3
(not present, installed that version)

Could not find tzinfo-data-1.2017.2
(not present, installed that version)

then, launching jekyll build:
You have already activated sass 3.5.1, but your Gemfile requires sass 3.4.25. Prepending 'bundle exec' to your command may solve this. (Gem::LoadError)

bundle exec jekyll build was a workaround, but gem uninstall sass -v 3.5.1 solved it.
`

Cannot install wdm on Windows 10

Following the instructions for gem install wdm results in:

PS E:\Programming\Ruby23\devkit> gem install wdm
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing wdm:
        ERROR: Failed to build gem native extension.

    current directory: E:/Programming/Ruby23/lib/ruby/gems/2.3.0/gems/wdm-0.1.1/ext/wdm
E:/Programming/Ruby23/bin/ruby.exe -r ./siteconf20170127-20196-ups7xn.rb extconf.rb
checking for main() in -lkernel32... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Looking at the build log, here is the error:

E:/Programming/Ruby23/include/ruby-2.3.0/ruby/ruby.h:2041:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(int argc, char **argv)
6: {
7:   return 0;
8: }
/* end */

I don't know Ruby at all, and I'm not seeing any solutions online, do you have a workaround idea for this step? I'm using Windows 10 x64.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.