gem configuration to act with Rails