Category: Languages

Serenity – No BaseStepListener has been registered 0

Serenity – No BaseStepListener has been registered

If you run your features directly in IntelliJ, you need to make sure the main class is set to net.serenitybdd.cucumber.cli.Main Otherwise you might get the an error about a missing BaseStepListener in newer serenity...

Sun/Oracle Java under Ubuntu 0

Sun/Oracle Java under Ubuntu

If you want to use the official Oracle Java Version you need to either install it manually or use an unofficial ppa. This is because Ubuntu removed the Oracle/Sun Java from the official repositories....

Upgrade to Rails 4 0

Upgrade to Rails 4

I have tried to convert my first Rails 3 app to Rails 4. I followed roughly the instructions on edge guides. The most work i had on reworking the attraccessible that are now removed in rails...

Installing Torquebox 2.3.1 0

Installing Torquebox 2.3.1

In order to get the torquebox-server gem installed i needed to increase the memory in order to avoid the ‘Java::JavaLang::OutOfMemoryError: Java heap space’ error. jruby -J-Xmx1024m -S gem install torquebox-server -v ‘2.3.1’ –source ‘http://torquebox.org/rubygems‘...

Rails 4 RC 0

Rails 4 RC

The first release candidate of rails 4 is out! Rails 4 prefers ruby 2 and ruby 1.9.3 is the minimal requirement. The focus for this release was making it faster. So that you do...

Capistrano deployment runs test-unit 0

Capistrano deployment runs test-unit

I had a problem during a capistrano deployment. It executed the unit tests that is should not do and tried to require “RAILSENV=test” as file: file not found: RAILSENV=test The solution was quite simple...

Torquebox upstart script under ubuntu 0

Torquebox upstart script under ubuntu

In order to let the upstart script for torquebox work on ubuntu you need to change these lines start on starting network-services stop on stopping network-services into these start on (started network-interface    ...

Upgrading to Rails 4 0

Upgrading to Rails 4

An interesting article about the new security features in Rails 4 and how to get your Rails 3 App ready for it can be found iconclastlabs.

Refactoring from good to great 0

Refactoring from good to great

There is a pretty nice talk about refactoring found here. In the talk he is optimizing the code live. The Topics covered are: The Open-Closed Principle The types of coupling, and their dangers Why composition...