Added sqlite dependency and pinned gem versions