fixed sqlite version and added pg for production
Updated .gitignore to ignore RubyMine files.