KISS πŸ‡ΊπŸ‡¦

Stop the war!

Stop the war in Ukraine! Fuck putin!

More information is at: https://war.ukraine.ua/.

There is a fund to support the Ukrainian Army: https://savelife.in.ua/en/donate/, and there is a special bank account that accepts funds in multiple currencies: https://bank.gov.ua/en/about/support-the-armed-forces. I donated to them. Please donate if you can!

Killer putin

Killer putin. Source: politico.eu.

Arrested putin

"It hasn't happened yet, but it will happen sooner or later. Beautiful photo, isn't it?" Source: twitter.

ruby-build: gvwrite_no_z problem

| comments

After a recent update, my Arch Linux has upgraded Ruby from 1.9 to 2.0. Consequently, I couldn’t use Octopress, my blog generator, because the old installed modules related to the old version. This time, instead of installing the modules to the system (/usr/lib/ruby/gems/1.9.1/gems/), I decided to use rbenv.

After installing it from AUR, that’s just one command:

1
$ rbenv install -v 1.9.3-p194

It failed with this excerpt from the logs:

1
2
3
4
5
6
7
8
9
10
11
Generating dot graphs using 3 parallel threads...
Running dot for graph 1/488
Running dot for graph 2/488
Running dot for graph 3/488
Error: gvwrite_no_z problem 8192
Problems running dot: exit code=1, command='dot', arguments='"/tmp/ruby-build.20130326233142.29548/ruby-1.9.3-p194/doc/capi/html/d8/d41/array_8c__incl.dot" -Tpng -o "/tmp/ruby-build.20130326233142.29548/ruby-1.9.3-p194/doc/capi/html/d8/d41/array_8c__incl.png"'
Running dot for graph 4/488
Running dot for graph 5/488
Running dot for graph 6/488
Error: gvwrite_no_z problem 8192
Problems running dot: exit code=1, command='dot', arguments='"/tmp/ruby-build.20130326233142.29548/ruby-1.9.3-p194/doc/capi/html/d6/d08/atomic_8h__dep__incl.dot" -Tpng -o "/tmp/ruby-build.20130326233142.29548/ruby-1.9.3-p194/doc/capi/html/d6/d08/atomic_8h__dep__incl.png"'

Searching on the internets didn’t find anything. After a while, I found out that the virtual partition with the /tmp/ directory, where the build was happening, ran out of space. To fix this, I had to move the build directory to another directory:

1
export RBENV_BUILD_ROOT=/tmp2

Then, the build and installation are done.

Comments