add Gemfile
fix unneeded string interpolation [FC002]
use Mixlib::ShellOut instead of %x[] [FC048]