Refactor setup.rb
Merge pull request #421 from serverspec/refactor-setup.rb

Refactor setup.rb