Hide Forgot
Description of problem: Given a ruby app (either ruby-1.8 or ruby-1.9), after installing dependencies (successfully) for the following types of apps, its $OPENSHIFT_DEPENDENCIES_DIR is always empty. On the other hand, the dependencies are installed under $OPENSHIFT_REPO_DIR/vendor/bundle/ruby dir. Version-Release number of selected component (if applicable): devenv-stage_546 How reproducible: always Steps to Reproduce: 1. create a ruby app (either ruby-1.8 or ruby-1.9) 2. install dependencies with the following Gemfile and Gemfile.lock <----Gemfile----> source 'http://rubygems.org' gem 'ref' gem 'rack' gem 'thread-dump' <---------------> <----Gemfile.lock----> GEM remote: http://rubygems.org/ specs: rack (1.5.2) ref (1.0.5) thread-dump (0.0.5) PLATFORMS ruby DEPENDENCIES rack ref thread-dump <--------------------> 3. check if the ref gem is present under $OPENSHIFT_DEPENDENCIES_DIR 4. check the ref gem under $OPENSHIFT_REPO_DIR/vendor/bundle/ruby Actual results: The ref gem was installed successfully under $OPENSHIFT_REPO_DIR/vendor/bundle/ruby/1.9*/gems But the dependency was absent under both $OPENSHIFT_DEPENDENCIES_DIR Expected results: The installed gems should be present under $OPENSHIFT_DEPENDENCIES_DIR. Additional info:
This is a design choice of the ruby cart. We might make this change later. What would be a bug is if deps were stored in some place other than repo or dependencies. In those cases the deps wouldn't be synced from a build or to a scaled up gear.