Fixed issues on other rubies
Added config for Travis
Merge branch 'feature/ruby-compat'