updates to gemfile and code to work with 1.9.3 and be more self documenting