Installing “Jekyll” on Debian 7 (Wheezy)

From the Jekyll website, its system requirements are:

Ruby (including development headers)
RubyGems
Linux, Unix, or Mac OS X
NodeJS, or another JavaScript runtime (for CoffeeScript support).


To meet the “Ruby” requirements:

#apt-get install ruby
#apt-get install ruby1.9.1-dev

NodeJS can be installed using:

#apt-get install curl
#curl -sL https://deb.nodesource.com/setup | bash -
#apt-get install nodejs
#apt-get install build-essential

The Debian wiki mentions that there a couple ways to set up the Ruby interpreter: “Selecting the default Ruby interpreter system-wide” and Selecting the default Ruby interpreter on a per-user basis”

However, to avoid implementing ‘rbenv’ [see also: chruby or rvm], Jekyll can be run as a regular user:

$gem install jekyll --user-install

References:

Advertisements

Tags: ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: