TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ruby, RubyGems and Bundler

3 pointsby pkmiecabout 8 years ago

1 comment

pmontraabout 8 years ago
I solve those problems by never using gem install. Actually I use gem install once, to install bundler in the @global gemset of every Ruby version I&#x27;m using. Then it&#x27;s all Gemfiles.<p>I create a rvm gemset per project and I use bundle within it. Combined with the .ruby-version and the .ruby-gemset files this lets me switch between projects in zero time because I don&#x27;t have to run bundle.<p>I deploy with bundle install --deployment (vendoring gems).