Description of problem: Hello, from rails >4.0 ActiveModel Observers have been removed and moved out as a gem https://github.com/rails/rails/commit/ccecab3ba950a288b61a516bf9b6962e384aae0b, the alias `ctl_app` (gear) is still using it, and the `openshift-origin-common.gemspec` is not using `rails-observers` gem. so, actually, I was trying to use rails 4.1.1 with `scl enable ruby193`, and the error basically is this: /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-common-1.24.3/lib/openshift-origin-common/models/model.rb:13:in `<class:Model>': uninitialized constant ActiveModel::Observing (NameError) Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. use ruby 1.9.3 2. upgrade your app to rails > 4.0 (e.g. 4.1.1) 3. run `bundle install` 4. then, `ctl_app` (gear) will go in error. Actual results: /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-common-1.24.3/lib/openshift-origin-common/models/model.rb:13:in `<class:Model>': uninitialized constant ActiveModel::Observing (NameError) Expected results: Additional info:
The ActiveModel used by ctl_app/gear *should* not depend in any way on what has been installed in the app. The ruby cartridge build step runs bundle install in such a way that the gems end up in app-root/runtime/repo/vendor/bundle which should only be used by the app. Is it possible that when you ran bundle install (manually?), gems were installed in $GEM_HOME (~/.gem) instead? Those would be used by the gear/cartridge. Could you give more detail on exactly how / where you ran "bundle install" (and with what arguments if any)?
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days