Editing gemfile and rakefile.

Making it work with newer versions of ruby etc.