fixing all gemfile, rails 4, bundling issues