Make gem installation see dependent gems

- Add GEM_PATH to gems installation

- Install dependent gems first

- Give access to app's gem path for secure user during gem install

- Try to fetch platform specific gem first for faster install

Change-Id: I4f39f6eea3678e6647d0801095c728e869312a72
Npm support: use local dependencies on deeper level

Change-Id: I2c01f90ede16e8768add976dfdc47e8430c5f8ae
Support multiple Ruby 1.8 or 1.9 versions

- Cache gems by specific version number

- Share blessed_gems dir b/w Ruby versions

- Parse version for name of rubygems dir

Change-Id: I9edcd74254af8ee30989b419eef7657119c035b5
Resolve node-gyp access permissions

- node-gyp needs access to home folder to store dev files, set HOME for
  npm build to temporary folder

Change-Id: Ia71da85e014f0eecc43193e3dde866e51273e2be
Merge "Npm support: use local dependencies on deeper level"
Merge "Resolve node-gyp access permissions"
Parse npm output for failures

- Check npm error output for installation failure

- Reset installed cache, it may contain failed packages

Change-Id: I81a6ad47716bbbfb0ad9531b8320d436da2529ab
Fall back to node-waf for old npm versions

Change-Id: I4bfc6e652af16d8085bca065c4e627561cb3ee65
Npm support optimizations

- don't shell out for npm version for every package

- native extensions search in local dependencies: use find instead of
  glob and exclude inner npm modules

(calipso modules installation time fell down from 26s to 2s)

Change-Id: Iabffad552e4df48583a4ba120bc5a99461411847
Merge "Parse npm output for failures"
Merge "Fall back to node-waf for old npm versions"
Merge "Npm support optimizations"
Merge "Support multiple Ruby 1.8 or 1.9 versions"
Improve error messages on failed gem operations

- Include stdout and stderr of processes run with
run_secure in log messages and raised errors

- Capture all Bundler output during Gemfile parsing

- Redirect stderr to stdout when run_secure is run
without secure users/groups

Change-Id: If4055cf7c52801bfc16e38e74a69321afcef2629
Support proxy for npm requests

Change-Id: Ibbb7e5c978e7b1247d4f794b336dc95af4a27395
Merge "Support proxy for npm requests"
Refactor gem task initialization

- remove the need to always run compile_gems before other methods

Change-Id: Idf5d85876a0617a8f1b606cfd410851aa0f337f4
Precompile assets in Rails 3

- run rake assets:precompile on stager

- assume that assets were compiled locally if assets manifest is present

Change-Id: I23a62e9a5d6ce45da6547d79e6ab6bf966b92b90
Removing version from SERVICE_DRIVER_HASH and searching for base name of db

- Adding java_web_spec test method for new db versions

Change-Id: I3235782afe8756da48323a50f7299546f58b96cf
Exclude development and test gem groups for Rails3 apps

- if RAILS_ENV=development, exclude only test group

Change-Id: I9afb0523d942a417ebcac154f1545a830446a116