Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy Bundle Install is installing gems in vendor/bundle?
    text
    copied!<p>Whenever I do <code>bundle install</code> all of the gems get installed at</p> <pre><code>app_dir/vendor/bundle </code></pre> <p>path and consumes loads of disk space. I also tried installing gems where it should get installed i.e gemsets while development by this:</p> <pre><code>bundle install --no-deployement </code></pre> <p>but this isn't working for me and installeing gems at <code>vendor/bundle</code>. How can I make it to be installed globally for all applications or in ruby gemsets location ? I also tried removing <code>.bundle/config</code> but nothing changed. </p> <p>I am using:</p> <pre><code>rvm version: 1.23.14 ruby version: 2.0.0-p247 rails 3.2.13 </code></pre> <p>Here is my <code>~/.bash_profile</code>:</p> <pre><code>export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin eval "$(rbenv init -)" alias pg='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log' [[ -s "$HOME/.rvm/scripts/rvm" ]] &amp;&amp; source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* [[ -s "$HOME/.rvm/scripts/rvm" ]] &amp;&amp; . "$HOME/.rvm/scripts/rvm" # Load RVM function </code></pre> <p>My <code>~/.bashrc</code>:</p> <pre><code>PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting </code></pre> <p>Some other information that you might need:</p> <pre><code>aman@Amandeeps-MacBook-Pro ~/Projects/qe (develop)*$ which bundle /Users/aman/.rvm/gems/ruby-2.0.0-p247@global/bin/bundle aman@Amandeeps-MacBook-Pro ~/Projects/qe (develop)*$ rbenv which bundle /Users/aman/.rbenv/versions/2.0.0-p247/bin/bundle amandeep@Amandeeps-MacBook-Pro ~/Projects/qe (develop)*$ rbenv which ruby /Users/aman/.rbenv/versions/2.0.0-p247/bin/ruby aman@Amandeeps-MacBook-Pro ~/Projects/qe (develop)*$ rbenv gemset active rbenv: NO such command `gemset' aman@Amandeeps-MacBook-Pro ~/Projects/qe (develop)*$ which rails /Users/aman/.rvm/gems/ruby-2.0.0-p247@global/bin/rails </code></pre> <p>I tried this also but didn't helped:</p> <pre><code>bundle install --system </code></pre> <p>and removing <code>.bundle</code> directory.</p> <p>Please help me in installing gems in gemsets not <code>vendor/bundle</code> or a default place.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload