install dependencies for nokogiri, sqlite3 and pg