Unclear on TeamCity + Rails2/Bundler Interaction

Hi everyone,

To start: TeamCity "setup" (if you can even call it that) was amazingly easy.  Right now we're working on understanding the Rake runner environment and how it interacts with RVM+Bundler.  I had to manually set the RVM Ruby path, and we're cooking with gas!

Now, I'm a bit unclear on how TeamCity interacts with Rails 2 + Bundler.

Ideally on every checkout, the Rake runner would detect a Gemfile and perform a "bundle install".

Right now I'm getting the equivalent of "gem not found" errors unless I pop into the buildAgent/work/# directory and run "bundle install" myself.

Is this what I should be doing?



Comment actions Permalink

Hello Rob,

Rake runner doesn't provide any special support for bundler. You need to invoke "bundle install" manually in your rake task. See http://youtrack.jetbrains.net/issue/TW-11462

Comment actions Permalink

Got it, thanks!


Please sign in to leave a comment.