Any Ruby developers present ?

Hi all (hope this is the right forum?),

I’ve running Opensuse 13.1 for the last month or so and I do really enjoy it.
It seems so much more solid than the Debian flavours of Linux :slight_smile:

I have a problem with installing some rubygem’s.

The gem in question is jekyll.

I’m not sure what the preferred way, of installing jekyll, is?

According to It has some runtime dependencies like:

classifier ~> 1.3
colorator ~> 0.1
jekyll-coffeescript ~> 1.0
jekyll-sass-converter ~> 1.0
kramdown ~> 1.3
liquid ~> 2.5.5
listen ~> 2.5
mercenary ~> 0.3.3
pygments.rb ~> 0.5.0
redcarpet ~> 3.1
safe_yaml ~> 1.0
toml ~> 0.1.0

But neither is available through Yast2 :-/

I have the the following installed:

ruby 2.0.0p247 (2013-06-27) [x86_64-linux]

Updated the gem system with:

>> sudo gem update --system --source  

>> gem -v

And have the devel_basis package installed.

When I try to install the gem’s this is the output:

>> sudo gem install classifier  
sudo gem install classifier
root's password:
ERROR:  Could not find a valid gem 'classifier' (>= 0), here is why:  
          Unable to download data from - no such name (  

ERROR:  Possible alternatives: classifier

What is the problem here ?? (Didnt have any problems on other distros?)

I have found the Webpinstant website where the gems are available, but i’m not sure if this is the right way to install the rubygem’s I want ???

Any advice is really appreciated! :slight_smile:


Although the original purpose of this Wiki article I wrote has become obsolete, I kept it around just for this type of question… :slight_smile:

You’ll find

  • How to add the Ruby repository (adjust for whatever version of openSUSE you may be running)
  • My recommendations what you should d/l immediately for your base environment
  • Noting that some gems from Ruby don’t work, in particular the very important “bundler” install gem must be installed from openSUSE and not from Ruby.

BTW - If you get Jekyl working, I’d be interested. It’s on my “one of these days I’ll get around to it” list. Or, if you change to any other static website generator. If you also deploy at Github or similar, I’d be interested too… If you don’t want to publish publicly, PM me and I’d appreciate it.


and thanks for replying lol!

When trying to install rubygem-jekyll, I got this:

 >> sudo zypper install rubygem-jekyll
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides rubygem(2.0.0:toml:0.1) >= 0.1 needed by rubygem-jekyll-1.5.1-1.2.x86_64
 Solution 1: do not install rubygem-jekyll-1.5.1-1.2.x86_64
 Solution 2: break rubygem-jekyll-1.5.1-1.2.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c): 

Thanks to the repo you provided I’ve managed to install:

classifier ~> 1.3
colorator ~> 0.1
jcoffeescript ~> 1.0
kramdown ~> 1.3
liquid ~> 2.5.5
listen ~> 2.5
pygments.rb ~> 0.5.0
redcarpet ~> 3.1
safe_yaml ~> 1.0

Theese couldn’t be installed with zypper:

jekyll-sass-converter ~> 1.0
mercenary ~> 0.3.3
toml ~> 0.1.0

Trying to install them with rubygems:

 >> sudo gem install toml
ERROR:  Could not find a valid gem 'toml' (>= 0), here is why:
          Unable to download data from - no such name (
ERROR:  Possible alternatives: toml

So I’m confused here >:(

*I’ve tried to upload both the generated site and the whole jekyllbuild to github with git, but when I did my distrohopping it got really cumbersome.
I never really get the hang of it and moved the whole site to my own ftp-server.

If you are used to using git, then it’s pretty easy though.

I left my repo behind for future references, you can see the site here:
And my github repos here:*

But still want to have jekyll running here :sarcastic:


On 2014-05-14 19:56, Scrat wrote:
> Hi all (hope this is the right forum?),

Just a comment: as YaST now uses ruby, some people hit problems when
changing the system ruby. In fact, there has been a recent update to
yast so that this doesn’t happen.

I comment this just in case that your yast fails to run that you know
where to look for culprits :wink:

Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

Just a comment: as YaST now uses ruby, some people hit problems when
changing the system ruby.

Yes I know. I was just about to delete all the ruby’s installed, when I saw that Yast has some ruby bindings :slight_smile:

Anyway I think I got it now. I don’t what I might have installed by now.

But when I did a:

sudo update_rubygems

And tried again with:

sudo gem install jekyll

it all works as expected !! rotfl! PHEEEW !!

Now I have this in the jekyll output:

       Deprecation: The 'pygments' configuration option has been renamed to 'highlighter'. Please update your config file accordingly. The allowed values are 'rouge', 'pygments' or null.

Anyone knows how to get rid of this ??

I have this in my config.yaml:

name: Nillers Skriblerier
markdown: redcarpet
pygments: true
description: Min egen blog
timezone: Europe/Copenhagen
default_locale: "da"
encoding: utf-8

Thanks in advance.


Okay I’ve got it rotfl!


pygments: true


highlighter: pygments

and it’s all settled now lol!


On 2014-05-15 19:46, Scrat wrote:
> and it’s all settled now lol!

Test yast before last “lol” :wink:

Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))


Because Jekyl is the main static web generator used for creating websites on Github, this is an important thread.
And, of course this isn’t restricted to only Github, it can be used to deploy and maintain a static website on any Hosting site.

For those who don’t know what a static website generator is…
It is an app that creates and modifies a static website.

And for those who don’t know what a static website is…
Static websites are all the rage now for “simple” websites. The idea is that nowadays web browsers have tons of new client-side functionality built in (eg HTML5 and improved script interpretators, in the case of Chrome the javascript interpretator is now a javascript compiler). With all this new functionality, web content which used to require server-side processing can now be done in the browser only. The result then is that sites like Github now don’t mind cheap or even free website hosting because there is practically no server side resource requirement.

One might then ask, if you’re just creating HTML style code, why not just use a regualr text editor?
Static website generators also provide support for templating and possible additional capabilities related to an alternative language like markdown.

Websites which are typically best suited for conversion to static websites are blogging, wikis, etc which don’t require login or other functionality that might require a database.


I love to write in markdown, it’s easy and convenient and fast. The formatting options given are just enough to get the message out.

The advantages in using jekyll is that it simply converts the markdown formatted text to plain html files. When it converts the files you get a complete site (in its own folder) with index.html and all. Ready to either deploy it to github using git (available in all linux distros and mac) or just transfer it using a ftp client to put the files on your own hosted ftp site.

Jekyll acts like a mini webserver. You can see your text live on localhost:4000 in a browser if jekyll is activated with jekyll server -w
It all happens in real time.
It takes a little time to understand the principles in using the system, but with a little effort it’s absolutely worth it :slight_smile:

It’s simple, static, easy and comfortable.rotfl!