When calling
Liberic.config.data_path = '/tmp'
A segfault occurs. This happens because the instance of config is created inside the Liberic module when loading the gem or something.
Everything works when creating a new instance inside Rails, like
c = Liberic::Config.new
c.data_path = '/tmp'