Fix compiling assets for test environment

Fix #15
Make gem compatible with ruby 1.9.3

Fixes #20