Error while the first sight generation in Jekyll on Windows - windows

I've just installed Jekyll 3.5.0 on Windows 10 using this instruction.
I've successfully run jekyll new my_blog and my blog folder looks like
kontiky#DESKTOP-GRQ069N:~/my_blog$ ls
404.html about.md _config.yml Gemfile Gemfile.lock index.md _posts vendor
but then I call jekyll build inside my_blog I see these warning and error messages
Deprecation: The 'gems' configuration option has been renamed to 'plugins'. Please update your config file accordingly.
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/root.rb:6: warning: already initialized constant Sass::ROOT_DIR
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/root.rb:6: warning: previous definition of ROOT_DIR was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:23: warning: already initialized constant Sass::Util::RUBY_VERSION_COMPONENTS
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:23: warning: previous definition of RUBY_VERSION_COMPONENTS was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:28: warning: already initialized constant Sass::Util::RUBY_ENGINE
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:28: warning: previous definition of RUBY_ENGINE was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:867: warning: already initialized constant Sass::Util::CHARSET_REGEXP
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:867: warning: previous definition of CHARSET_REGEXP was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:869: warning: already initialized constant Sass::Util::UTF_8_BOM
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:869: warning: previous definition of UTF_8_BOM was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:870: warning: already initialized constant Sass::Util::UTF_16BE_BOM
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:870: warning: previous definition of UTF_16BE_BOM was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:871: warning: already initialized constant Sass::Util::UTF_16LE_BOM
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:871: warning: previous definition of UTF_16LE_BOM was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:1151: warning: already initialized constant Sass::Util::VLQ_BASE_SHIFT
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:1151: warning: previous definition of VLQ_BASE_SHIFT was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:1152: warning: already initialized constant Sass::Util::VLQ_BASE
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:1152: warning: previous definition of VLQ_BASE was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:1153: warning: already initialized constant Sass::Util::VLQ_BASE_MASK
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:1153: warning: previous definition of VLQ_BASE_MASK was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:1154: warning: already initialized constant Sass::Util::VLQ_CONTINUATION_BIT
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:1154: warning: previous definition of VLQ_CONTINUATION_BIT was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:1156: warning: already initialized constant Sass::Util::BASE64_DIGITS
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:1156: warning: previous definition of BASE64_DIGITS was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:1157: warning: already initialized constant Sass::Util::BASE64_DIGIT_MAP
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:1157: warning: previous definition of BASE64_DIGIT_MAP was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:1193: warning: already initialized constant Sass::Util::URI_ESCAPE
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:1193: warning: previous definition of URI_ESCAPE was here
/home/kontiky/my_blog/vendor/bundle/gems/sass-3.4.24/lib/sass/util.rb:1237: warning: already initialized constant Sass::Util::ATOMIC_WRITE_MUTEX
/var/lib/gems/2.3.0/gems/sass-3.4.24/lib/sass/util.rb:1237: warning: previous definition of ATOMIC_WRITE_MUTEX was here
jekyll 3.5.0 | Error: superclass mismatch for class Mapping
Could you, please, help me avoid these warnings and errors?

I encountered the same issue and I finally decided to install Ruby on Windows without Bash On Ubuntu from this installer: https://rubyinstaller.org/downloads/
After that, I installed jekyll & bundler and, to make jekyll command-line script work, I had to execute this via bundle:
$ bundle exec jekyll serve --watch

Related

Homebrew portable-ruby generates warning messages

How can we get rid of such ruby warning messages reported when I execute a Homebrew command on MacOS ?
brew upgrade
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/FileUtils.rb:1267: warning: already initialized constant FileUtils::Entry_::S_IF_DOOR
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/fileutils.rb:1267: warning: previous definition of S_IF_DOOR was here
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/FileUtils.rb:1540: warning: already initialized constant FileUtils::Entry_::DIRECTORY_TERM
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/fileutils.rb:1540: warning: previous definition of DIRECTORY_TERM was here
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/FileUtils.rb:1542: warning: already initialized constant FileUtils::Entry_::SYSCASE
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/fileutils.rb:1542: warning: previous definition of SYSCASE was here
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/FileUtils.rb:1595: warning: already initialized constant FileUtils::OPT_TABLE
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/fileutils.rb:1595: warning: previous definition of OPT_TABLE was here
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/FileUtils.rb:1649: warning: already initialized constant FileUtils::LOW_METHODS
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/fileutils.rb:1649: warning: previous definition of LOW_METHODS was here
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/FileUtils.rb:1656: warning: already initialized constant FileUtils::METHODS
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/fileutils.rb:1656: warning: previous definition of METHODS was here
This is the open issue for the camel case warnings.

Mailcatcher Error: ~~> ERROR: Something's using port 1025. Are you already running MailCatcher?

I have installed the gem mailcatcher. And when I want to run the mailcatcher I have this error message:
$ mailcatcher
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::BASE
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of BASE was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::EXCEPTION_ALL
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of EXCEPTION_ALL was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::EXCEPTION_NaN
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of EXCEPTION_NaN was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::EXCEPTION_INFINITY
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of EXCEPTION_INFINITY was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::EXCEPTION_UNDERFLOW
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of EXCEPTION_UNDERFLOW was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::EXCEPTION_OVERFLOW
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of EXCEPTION_OVERFLOW was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::EXCEPTION_ZERODIVIDE
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of EXCEPTION_ZERODIVIDE was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::ROUND_MODE
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of ROUND_MODE was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::ROUND_UP
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of ROUND_UP was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::ROUND_DOWN
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of ROUND_DOWN was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::ROUND_HALF_UP
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of ROUND_HALF_UP was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::ROUND_HALF_DOWN
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of ROUND_HALF_DOWN was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::ROUND_CEILING
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of ROUND_CEILING was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::ROUND_FLOOR
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of ROUND_FLOOR was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::ROUND_HALF_EVEN
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of ROUND_HALF_EVEN was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::SIGN_NaN
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of SIGN_NaN was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::SIGN_POSITIVE_ZERO
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of SIGN_POSITIVE_ZERO was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::SIGN_NEGATIVE_ZERO
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of SIGN_NEGATIVE_ZERO was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::SIGN_POSITIVE_FINITE
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of SIGN_POSITIVE_FINITE was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::SIGN_NEGATIVE_FINITE
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of SIGN_NEGATIVE_FINITE was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::SIGN_POSITIVE_INFINITE
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of SIGN_POSITIVE_INFINITE was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::SIGN_NEGATIVE_INFINITE
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of SIGN_NEGATIVE_INFINITE was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::INFINITY
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of INFINITY was here
/Users/romenigld/.rvm/gems/ruby-2.2.3#global/extensions/x86_64-darwin-14/2.2.0-static/bigdecimal-1.2.7/bigdecimal.bundle: warning: already initialized constant BigDecimal::NAN
/Users/romenigld/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121: warning: previous definition of NAN was here
Starting MailCatcher
~~> ERROR: Something's using port 1025. Are you already running MailCatcher?
Then when I try to use the http://localhost:1080/ shows me the app mailcatcher.
But what I need to do with the application for don't show anymore this error?
Something seems to be running on that port. It can be another instance of mailcatcher, or some other process.
On most *nix systems you can use the following command to search for a process occupying a particular port:
lsof -i :PORT
For example:
lsof -i :1025
The result will contain a PID (Process ID). You can use this to kill the offending process.
kill -9 SOME_PID
Example:
kill -9 32487

Plone couldn't set up Zope instance while install Pillow 1.7.8

I am trying to install Plone to my Ubuntu 14.04, however the install.sh gives me error:
Installing instance. Getting distribution for 'Pillow==1.7.8'.
warning: no previously-included files found matching '.hgignore'
warning: no previously-included files found matching '.hgtags'
warning: no previously-included files found matching 'BUILDME.bat'
warning: no previously-included files found matching
'make-manifest.py' warning: no previously-included files found
matching 'SHIP' warning: no previously-included files found matching
'SHIP.bat' warning: no previously-included files matching '*' found
under directory 'Tests' _imaging.c:3017:5: warning:
initialization from incompatible pointer type [enabled by default]
(inquiry) image_length, /*sq_length*/
^ _imaging.c:3017:5: warning: (near initialization for ‘image_as_sequence.sq_length’) [enabled by default]
_imaging.c:3077:5: warning: initialization from incompatible pointer type [enabled by default]
(inquiry) NULL, /*mp_length*/
^ _imaging.c:3077:5: warning: (near initialization for ‘pixel_access_as_mapping.mp_length’) [enabled by default]
_imaging.c: In function ‘_filter’: _imaging.c:842:8: warning: ‘kernelsize’ may be used uninitialized in this function
[-Wmaybe-uninitialized]
if (kernelsize != xsize * ysize) {
^ libImaging/Quant.c: In function ‘rehash_collide’: libImaging/Quant.c:154:10: warning: cast to pointer from integer of
different size [-Wint-to-pointer-cast] *valp=(void *)((*(int
*)valp)+(*(int *)&newval));
^ _imagingft.c:73:31: fatal error: freetype/fterrors.h: No such file or directory #include <freetype/fterrors.h>
^ compilation terminated. error: Setup script exited with error: command 'gcc' failed with exit status 1 An
error occurred when trying to install Pillow 1.7.8. Look above this
message for any errors that were output by easy_install. While:
Installing instance. Getting distribution for 'Pillow==1.7.8'.
Error: Couldn't install: Pillow 1.7.8
And here is what I did with the Unified installer:
I used --build-python option because I am using Enthought Canopy version of Python, which does not have the Python.h that Zope needs to in order to build its instance. So I just build up a new python -which honestly I don't know how it works, but I am guessing it is using virtualenv to isolate the installation environment, correct me if I am wrong.
me#me-N550JV:~/Downloads/Plone-4.3-UnifiedInstaller$ ./install.sh standalone --build-python
Rootless install method chosen. Will install for use by system user me
Detailed installation log being written to /home/me/Downloads/Plone-4.3-UnifiedInstaller/install.log
Installing Plone 4.3 at /home/me/Plone
Skipping libjpeg build
Skipping readline build
Installing Python-2.7.3. This takes a while...
Installing distribute...
Warning: This Python does not have readline support.
It may still be usable for Zope, but interacting directly with Python will be painful.
Python build looks OK.
Unpacking buildout cache to /home/me/Plone/buildout-cache
Copying Plone-docs
Copying buildout skeleton
Fixing up bin/buildout
Building Zope/Plone; this takes a while...
Buildout returned an error code: 1; Aborting.
Buildout failed. Unable to continue
Installation has failed.
See the detailed installation log at /home/me/Downloads/Plone-4.3-UnifiedInstaller/install.log
to determine the cause.
Can someone explain how I can fix the issue with Pillow and get Plone installed in my machine? Thanks so much!
install like this
./install.sh --target=/home/tclap1006/all_folders/unifiedinstallers/Plone --build-python standalone
here --target is path (means at which directory u want to install ur Plone)

Jekyll JSON errors in commandline?

I tried to look this up but to no avail. When running Jekyll with "Jekyll serve" I'm getting the following messages in my commandline after which Jekyll runs fine.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/json/version.rb:3: warning: already initialized constant JSON::VERSION
/Library/Ruby/Gems/2.0.0/gems/json-1.8.2/lib/json/version.rb:3: warning: previous definition of VERSION was here
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/json/version.rb:4: warning: already initialized constant JSON::VERSION_ARRAY
/Library/Ruby/Gems/2.0.0/gems/json-1.8.2/lib/json/version.rb:4: warning: previous definition of VERSION_ARRAY was here
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/json/version.rb:5: warning: already initialized constant JSON::VERSION_MAJOR
/Library/Ruby/Gems/2.0.0/gems/json-1.8.2/lib/json/version.rb:5: warning: previous definition of VERSION_MAJOR was here
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/json/version.rb:6: warning: already initialized constant JSON::VERSION_MINOR
/Library/Ruby/Gems/2.0.0/gems/json-1.8.2/lib/json/version.rb:6: warning: previous definition of VERSION_MINOR was here
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/json/version.rb:7: warning: already initialized constant JSON::VERSION_BUILD
/Library/Ruby/Gems/2.0.0/gems/json-1.8.2/lib/json/version.rb:7: warning: previous definition of VERSION_BUILD was here
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/json/common.rb:99: warning: already initialized constant JSON::NaN
/Library/Ruby/Gems/2.0.0/gems/json-1.8.2/lib/json/common.rb:99: warning: previous definition of NaN was here
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/json/common.rb:101: warning: already initialized constant JSON::Infinity
/Library/Ruby/Gems/2.0.0/gems/json-1.8.2/lib/json/common.rb:101: warning: previous definition of Infinity was here
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/json/common.rb:103: warning: already initialized constant JSON::MinusInfinity
/Library/Ruby/Gems/2.0.0/gems/json-1.8.2/lib/json/common.rb:103: warning: previous definition of MinusInfinity was here
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/json/common.rb:128: warning: already initialized constant JSON::UnparserError
/Library/Ruby/Gems/2.0.0/gems/json-1.8.2/lib/json/common.rb:128: warning: previous definition of UnparserError was here
Jekyll runs fine though! But I guess it couldn't harm to fix this. It probably has something to do with versions of JSON not matching Jekylls dependencies?
I fixed it by updating all my gems.
gem install rubygems-update
update_rubygems
gem update --system

install jekyll in windows7

env: windows 7-64bit DevKit-mingw64-32-4.7.2-20130224-1151-sfx ruby200-64
I already install devkit and ruby. then I run gem install jekyll
looks like something wrong in ruby.h
it has some errors like follows:
ERROR: Error installing jekyll:
ERROR: Failed to build gem native extension.
d:/Ruby200-x64/bin/ruby.exe extconf.rb
creating Makefile
make "DESTDIR="
generating stemmer-x64-mingw32.def
compiling porter.c
porter.c: In function 'step1ab':
porter.c:233:4: warning: passing argument 2 of 'ends' discards qualifiers from p
...
..
compiling porter_wrap.c
In file included from d:/Ruby200-x64/include/ruby-2.0.0/ruby.h:33:0,from porter_wrap.c:1:
d:/Ruby200-x64/include/ruby-2.0.0/ruby/ruby.h:125:14: error: size of array 'ruby _ check_sizeof_voidp' is negative
In file included from d:/Ruby200-x64/include/ruby-2.0.0/ruby.h:33:0,
from porter_wrap.c:1:
d:/Ruby200-x64/include/ruby-2.0.0/ruby/ruby.h: In function 'rb_float_value':
d:/Ruby200-x64/include/ruby-2.0.0/ruby/ruby.h:785:10: warning: cast to pointer from integer of different size
d:/Ruby200-x64/include/ruby-2.0.0/ruby/ruby.h: In function 'rb_num2char_inline':
d:/Ruby200-x64/include/ruby-2.0.0/ruby/ruby.h:1214:35: warning: cast to pointer from integer of different size
d:/Ruby200-x64/include/ruby-2.0.0/ruby/ruby.h:1214:35: warning: cast to pointer from integer of different size
d:/Ruby200-x64/include/ruby-2.0.0/ruby/ruby.h:1214:35: warning: cast to pointer from integer of different size
d:/Ruby200-x64/include/ruby-2.0.0/ruby/ruby.h:1215:9: warning: cast to pointer from integer of different size
d:/Ruby200-x64/include/ruby-2.0.0/ruby/ruby.h:1215:9: warning: cast to pointer from integer of different size
d:/Ruby200-x64/include/ruby-2.0.0/ruby/ruby.h:1215:9: warning: cast to pointer from integer of different size
d:/Ruby200-x64/include/ruby-2.0.0/ruby/ruby.h: In function 'rb_class_of':
d:/Ruby200-x64/include/ruby-2.0.0/ruby/ruby.h:1515:12: warning: cast to pointer from integer of different size
d:/Ruby200-x64/include/ruby-2.0.0/ruby/ruby.h: In function 'rb_type':
d:/Ruby200-x64/include/ruby-2.0.0/ruby/ruby.h:1532:12: warning: cast to pointer from integer of different size
porter_wrap.c: In function 'stem_word':
porter_wrap.c:26:16: warning: cast to pointer from integer of different size
porter_wrap.c:26:16: warning: cast to pointer from integer of different size
porter_wrap.c:26:16: warning: cast to pointer from integer of different size
porter_wrap.c:27:16: warning: cast to pointer from integer of different size
porter_wrap.c:27:16: warning: cast to pointer from integer of different size
porter_wrap.c:27:16: warning: cast to pointer from integer of different size
porter_wrap.c:27:34: warning: cast to pointer from integer of different size
porter_wrap.c:27:34: warning: cast to pointer from integer of different size
porter_wrap.c:27:34: warning: cast to pointer from integer of different size
porter_wrap.c:28:7: warning: cast to pointer from integer of different size
porter_wrap.c:28:7: warning: cast to pointer from integer of different size
porter_wrap.c:28:7: warning: cast to pointer from integer of different size
porter_wrap.c:20:17: warning: unused variable 'i'
make: *** [porter_wrap.o] Error 1
Gem files will remain installed in d:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/fast-stemmer-1.0.2 for inspection.
Results logged to d:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/fast-stemmer-1.0.2/ext/gem_make.out
Successfully installed liquid-2.5.1
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
Any assistance would be helpful.thx
Your Ruby is Ruby200-x64, which is 64-bit, so please download the 64-bit DevKit to match your Ruby.
The latest 64-bit DevKit is DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe, which can be found here, while currently yours is 32-bit DevKit-mingw64-32-4.7.2-20130224-1151-sfx.
Did you notice the difference? Yours is mingw64-32, but you need mingw64-64.
Another issue I encountered here is using Ruby2.00 which seems not an idea version.
The version worked for me is:
Ruby 1.9.3-p448
DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe
Basically it's just the version issue, other than that , just follow articles you can search around.
Details about where to get these packages:Issue installing jekyll on windows

Resources