Just wanted to install a ruby package using gem. However, I’m not a ruby dev and it took me a while to work around a certain problem with gem..

I wanted to install the Effing Package Management:

Especially line 35 drove me insane: You have to install development tools first. That made me think I need to install more *-dev stuff. Took me some time to find out that there was a problem with gcc! Turns out that gcc version 4.8.3 (Debian 4.8.3-13) (gcc -v) wasn’t able to build the package for me. So I installed gcc version 4.9.1 (Debian 4.9.1-19) and everything worked like a charm. :)

# 1 Comment

Michael Gebetsroither | Permalink | 2015-02-26 10:38:48

You not only need to install gcc-4.9, but gcc-4.9 must be the default, eg. you also need to install package gcc in version 4.9. Thx for posting this, i got bitten by the same thing.