Fix issue with HAVING. Add rvm's .ruby-gemset