Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialGary Byrne
16,514 PointsInstalling on windows problems
So i did the instructions for installing on windows. I got some ssl errors.
C:\>gem install jekyll
ERROR: Could not find a valid gem 'jekyll' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
https://api.rubygems.org/latest_specs.4.8.gz)
i was told to Download AddTrustExternalCARoot-2048.pem Save to C:\Ruby21-x64\lib\ruby\2.1.0\rubygems\ssl_certs Try gem install jekyll again, should work now.
i tried it and i got the following (summarised)
yajl_encode.c: In function 'yajl_string_decode':
yajl_encode.c:201:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
compiling yajl_ext.c
In file included from c:/Ruby21/include/ruby-2.1.0/ruby.h:33:0,
from yajl_ext.h:32,
from yajl_ext.c:24:
c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h:109:14: error: size of array 'ruby_check_sizeof_voidp' is negative
In file included from c:/Ruby21/include/ruby-2.1.0/ruby.h:33:0,
from yajl_ext.h:32,
from yajl_ext.c:24:
c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h: In function 'rb_obj_wb_unprotect':
c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h:1234:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h:1235:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h:1238:2: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h: In function 'rb_obj_written':
c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h:1253:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
c:/Ruby21/include/ruby-2.1.0/ruby/ruby.h: In function 'rb_num2char_inline':
yajl_ext.c: In function 'yajl_check_and_fire_callback':
yajl_ext.c:38:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
yajl_ext.c:38:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
yajl_ext.c:47:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
yajl_ext.c: In function 'yajl_set_static_value':
yajl_ext.c:81:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
yajl_ext.c:81:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
yajl_ext.c:81:5: warning: cast to pointer from integer
Iain Simmons
Treehouse Moderator 32,305 PointsIain Simmons
Treehouse Moderator 32,305 PointsHi @garybyrne, just letting you know that I formatted your errors into code blocks to make them easier to read.
Please refer to the Markdown Cheatsheet, linked below the text box used for adding your question/comment/answer for instructions on how to format code blocks.