Bump ruby and update gems.
Fixed deprecation notices.
Add travis support.