Added a gemfile.
Tweaked device.