title: Rails "( LoadError ): run bundle install --local" when trying to create new rails project
body: <p>My system is Ubuntu 16.04.</p>
  
  <p>I have ruby version 2.3.1.</p>
  
  <p>I tried to install Rails.</p>
  
  <p>So I ran the command:</p>
  
  <pre><code>sudo apt install ruby-railties
  </code></pre>
  
  <p>Then I tried to create a Project.</p>
  
  <pre><code>rails new FirstRailsProject
  </code></pre>
  
  <p>First try creating a new project I got an error along the lines <code>failled to require bundler</code>, so after a few searches on here I gave this command a try:</p>
  
  <pre><code>sudo gem install bundler
  </code></pre>
  
  <p>Thought this command fixed it but I still get errors trying to create a new project.</p>
  
  <p>So I gave up and figured I would ask for help, I copied in my output when I run the rails new command for more specific detail.</p>
  
  <p>When I run <code>rails new FirstRailsProject</code> ( The error is at the very bottom )</p>
  
  <pre><code>  create  
    create  README.rdoc
    create  Rakefile
    create  config.ru
    create  .gitignore
    create  Gemfile
    create  app
    create  app/assets/javascripts/application.js
    create  app/assets/stylesheets/application.css
    create  app/controllers/application_controller.rb
    create  app/helpers/application_helper.rb
    create  app/views/layouts/application.html.erb
    create  app/assets/images/.keep
    create  app/mailers/.keep
    create  app/models/.keep
    create  app/controllers/concerns/.keep
    create  app/models/concerns/.keep
    create  bin
    create  bin/bundle
    create  bin/rails
    create  bin/rake
    create  bin/setup
    create  config
    create  config/routes.rb
    create  config/application.rb
    create  config/environment.rb
    create  config/secrets.yml
    create  config/environments
    create  config/environments/development.rb
    create  config/environments/production.rb
    create  config/environments/test.rb
    create  config/initializers
    create  config/initializers/assets.rb
    create  config/initializers/backtrace_silencers.rb
    create  config/initializers/cookies_serializer.rb
    create  config/initializers/filter_parameter_logging.rb
    create  config/initializers/inflections.rb
    create  config/initializers/mime_types.rb
    create  config/initializers/session_store.rb
    create  config/initializers/wrap_parameters.rb
    create  config/locales
    create  config/locales/en.yml
    create  config/boot.rb
    create  config/database.yml
    create  db
    create  db/seeds.rb
    create  lib
    create  lib/tasks
    create  lib/tasks/.keep
    create  lib/assets
    create  lib/assets/.keep
    create  log
    create  log/.keep
    create  public
    create  public/404.html
    create  public/422.html
    create  public/500.html
    create  public/favicon.ico
    create  public/robots.txt
    create  test/fixtures
    create  test/fixtures/.keep
    create  test/controllers
    create  test/controllers/.keep
    create  test/mailers
    create  test/mailers/.keep
    create  test/models
    create  test/models/.keep
    create  test/helpers
    create  test/helpers/.keep
    create  test/integration
    create  test/integration/.keep
    create  test/test_helper.rb
    create  tmp/cache
    create  tmp/cache/assets
    create  vendor/assets/javascripts
    create  vendor/assets/javascripts/.keep
    create  vendor/assets/stylesheets
    create  vendor/assets/stylesheets/.keep
      run  bundle install --local
    /usr/bin/ruby2.3: No such file or directory -- /usr/bin/bundle (LoadError)
      run  bundle exec spring binstub --all 
   /usr/bin/ruby2.3: No such file or directory -- /usr/bin/bundle (LoadError)
  </code></pre>