Updates Rakefile

Adds minimal required Ruby version and only bundles lib/ files in gem.