Using Bundler along with preinstalled gems

Posted by Rob Cameron on Stack Overflow See other posts from Stack Overflow or by Rob Cameron
Published on 2010-06-10T18:32:34Z Indexed on 2010/06/10 22:42 UTC
Read the original article Hit count: 334

Filed under:
|
|

So I've got thin installed the old fashioned way:

gem install thin

I put an app on the server and installed all of its required gems via bundler:

bundle install

But, when I tried to start the app with thin start, it can't find any of the bundler-installed gems since they're not installed in the default gems directory.

My question is: how do I make this work? Do I need to install thin via bundler as well? Will that still set up the thin executable in /usr/bin so I can start it from the command line like normal? Thanks!

© Stack Overflow or respective owner

Related posts about ruby

Related posts about gems