Hi,
I've vendored my gems using rake gems:unpack:dependencies and can rake
gems:build on my development machine to take care of the gems
(rdiscount, nokogiri) with native code.
When it comes to production deployment is it expected that I should
run rake gems:build as a part of each (capistrano) deployment?
Is there a way to avoid that?
Thanks,
-Tim
Dunno about _avoiding_ it (without just installing the gems on the
server, and de-vendoring them), but you can trivially automate it.
In your deploy.rb:
Thanks Jacob,
can you explain what’s going on with the BUILD_GEMS environment variable?
Is that set somewhere already or is that there so I can call:
BUILD_GEMS=0 cap deploy
to avoid building the gems?
-Tim