Moving gemfile path to configuration
Setting rubygem to local value
Refactoring to remove unnecessary arrays/hashes