Vagrant assistant for your DevAssistant

You have probably heard about Vagrant coming to Fedora and might have heard about DevAssistant too. DevAssistant can make your development easier by setting up your project’s basic structure, installing needed dependencies or tools. But if you wanted to use Vagrant for your project as well, you needed to install and configure it separately. Until […]

gem-compare: Releasing a new gem version with confidence

What do you usually do when releasing a new version of gems? Running test suite? Something more? I like to use my tool on tracking changes in RubyGems gem-compare as it gives me a little bit more confidence on what am I actually releasing. Here’s how I do it.

Inception: running Vagrant inside Vagrant with KVM

Since I package and maintain Vagrant and vagrant-libvirt for Fedora, I have a need to test new builds. But since I run just one version of Fedora and I don’t really feel like testing it directly on my host system, I actually use Vagrant to test Vagrant. In other words I run Vagrant with KVM […]

Safe code evaluation in Ruby with $SAFE

As you probably know, you can use eval() to evaluate Ruby code from Ruby. But evaluating things that come from the outside of the program like user inputs can be dangerous. Why they can be dangerous you ask? eval() evaluates anything as we would program it ourselves. Basically anything can happen. That’s why it’s best […]

Running test/unit suites with Minitest

Sometimes it happens that you want to run an old test suite, but you don’t have a correct version of the testing framework available. That happens a lot in Fedora since tooling around RPM supports only one version of each component and new rubies does not come with test/unit anymore. As we still need to […]

Getting Vagrant with libvirt support on Fedora 21

Some time ago we finished most of the work for Vagrant Fedora 22 feature. The Vagrant package is currently in the review process, but I maintain Copr repositories for both Fedora 21 and rawhide. Here is how to install Vagrant and vagrant-libvirt on Fedora 21.

Quick setup of nested virtualization in KVM and virt-manager

When I was testing Vagrant builds for Fedora I needed to run Vagrant in a virtual machine and then test vagrant libvirt integration there. So to say a needed to do virtualization on the virtual machine. Luckily for me it is possible with KVM and Rhys Oxenhams wrote about setting it up. This post is […]