It looks you're using rack from two places /usr/lib/ruby/vendor_ruby/rack and /var/lib/gems/2.2.0/gems/rack-2.0.1.
Removing that vendor_ruby (not confirmed) could help. Buy maybe a better choice is to install rvm or rbenv to handle your ruby/gems versions.