title: Rails - New temp directory getting automatically created every time I run bundler command
body: <p>I have generated a basic web app using Rails 4.1.4/Ember.js and everything works as expected, but every time I run 'bundle install' etc. it creates a new (empty) folder in my root directory of the form <strong>'bundler20140904-22128-1jtt7b7'</strong> (the random digits at the end change each time).  They pile up so deleting them is getting kind of annoying, but does anyone have any ideas why this could be happening??.  I couldn't find any info via Google, but I was consulting <a href="http://blog.dcxn.com/2013/03/23/getting-started-with-ember-js-on-rails/" rel="nofollow">this tutorial</a> if that helps.  I'm running CentOS 6.5 with RVM and I have no idea which files are relevant but here's my <strong>application.rb</strong>:</p>
  
  <pre><code>require File.expand_path('../boot', __FILE__)
  
  require 'rails/all'
  
  # Require the gems listed in Gemfile, including any gems
  # you've limited to :test, :development, or :production.
  Bundler.require(*Rails.groups)
  
  module MyProject
    class Application &lt; Rails::Application
    end
  end
  </code></pre>
  
  <p><strong>config.ru</strong>:</p>
  
  <pre><code># This file is used by Rack-based servers to start the application.
  
  require ::File.expand_path('../config/environment',  __FILE__)
  run Rails.application
  </code></pre>
  
  <p><strong>Gemfile</strong>:</p>
  
  <pre><code>source 'https://rubygems.org'
  
  # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
  gem 'rails', '4.1.4'
  # Use sqlite3 as the database for Active Record
  gem 'sqlite3'
  # Use SCSS for stylesheets
  gem 'sass-rails', '~&gt; 4.0.3'
  # Use Uglifier as compressor for JavaScript assets
  gem 'uglifier', '&gt;= 1.3.0'
  
  # Use jquery as the JavaScript library
  gem 'jquery-rails'
  
  # bundle exec rake doc:rails generates the API under doc/api.
  gem 'sdoc', '~&gt; 0.4.0',          group: :doc
  
  # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/ra
  ils/spring
  gem 'spring',        group: :development
  
  # Use ActiveModel has_secure_password
  # gem 'bcrypt', '~&gt; 3.1.7'
  
  # Use unicorn as the app server
  # gem 'unicorn'
  
  # Use Capistrano for deployment
  # gem 'capistrano-rails', group: :development
  
  # Use debugger
  # gem 'debugger', group: [:development, :test]
  
  #EMBER
  gem 'ember-rails', git: 'git://github.com/emberjs/ember-rails.git'
  </code></pre>
  
  <p>If you need any more info please let me know.  I'd be grateful for any help you can provide!</p>