trying to figure out Jekyll

Posted by Gina Rosenthal in Jekyll | Tagged | Leave a comment

So once again, I have been inspired to try something because of Scott Lowe. He migrated his blog from WordPress to Jekyll hosted on GitHub. I’m super interested in what GitHub can do wrt content, collaboration, etc. So I’m trying it as well.

So I started out with Jekyll — on my hosting service (where my domain currently resides). I actually first have tried Jekyll bootstrap.

Basically — you have to set up a GitHub repository, instal the Jekyll-Bootstrap, and profit (really? okayyyyyyyy).

According to those instructions, to preview your blog you have to run Jekyll locally. So remember, locally for me will be on my ISP’s servers.

Also, I am gonna admit right here I don’t really know ruby. So now I’m relying on my ISP to have the dependencies I need to run a gem. Or install a gem. Whatever, I’m learning this as I go along and it gets sorta confusing.

Terminology break! What is a Ruby gem? Each gem has a name, version, and platform. Platforms are based on the CPU architecture, operating system type and sometimes the operating system version. Gems contain code, documentation, gemspec. The gemspec contains who wrote a gem, when, and what it does. This info is condensed from info on this page.

When I run gem install jekyll, I get this error:

 gem install jekyll
ERROR: While executing gem … (Gem::FilePermissionError)
You don’t have write permissions into the /var/lib/gems/1.8 directory.

Thanks to this great blog post I figure out how to see what my ISP is allowing me to do:

gem env
RubyGems Environment:
– RUBYGEMS VERSION: 1.3.7
– RUBY VERSION: 1.8.7 (2010-08-16 patchlevel 302) [i486-linux]
– INSTALLATION DIRECTORY: /var/lib/gems/1.8
– RUBY EXECUTABLE: /usr/bin/ruby1.8
– EXECUTABLE DIRECTORY: /var/lib/gems/1.8/bin
– RUBYGEMS PLATFORMS:
– ruby
– x86-linux
– GEM PATHS:
– /var/lib/gems/1.8
– /kunden/homepages/2/d89689726/htdocs/.gem/ruby/1.8
– GEM CONFIGURATION:
– :update_sources => true
– :verbose => true
– :benchmark => false
– :backtrace => false
– :bulk_threshold => 1000

So current version of Ruby is 2.2, my ISP is using 1.8.7. I’m not sure what this means…so I’ll be digging into it! 🙂

 

 

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.