Bundler: How can I bundle install from outside the ruby app directory?
问题 Attempt 1: Installation from outside ruby app directory Fresh Vagrant install and it doesn’t work: $ bundle install --path=/var/ruby/test/ --gemfile=/var/ruby/test/Gemfile Fetching gem metadata from https://rubygems.org/......... Using bundler 1.16.3 Fetching daemons 1.2.6 Installing daemons 1.2.6 Fetching eventmachine 1.2.7 Installing eventmachine 1.2.7 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /var/ruby/test/ruby/2.3.0/gems