Updating rubygems source

Remove deprecation warning messages by updating rubygems source in
Gemfile.
Remove unassigned variable

So tests stop complaining! Such whiney tests!