OPENSHIFT_NODEJS_VERSION still shows 0.10 but node -v shows 0.11.11
I wanna use 0.11.11 version nodejs. after 'git push' step, ssh login and run node -v shows 0.11.11, but http://vifii-onlyvc.rhcloud.com/env shows 0.10
:+1: I have the same problem. any updates on this?
@fanweixiao it only works if you start with a node 0.6 cartridge.
or maybe if you remove the version number from the action_hooks
rename pre_start_nodejs-0.6 to pre_start_nodejs etc.
@pkyeck thanks for the detailed info and @fanweixiao thanks for reporting it. Yeah, the workaround would be as Phillip mentioned to start w/ a nodejs-0.6 cartridge as mentioned in the instructions (https://github.com/ramr/nodejs-custom-version-openshift/blob/master/README.md) and then move up to a newer node version. BTW, don't think the pre_0.6 and post_0.6 hooks should matter as they are symlinked to the actuals, suspect it may have something in the way v0.10 is run via scl (software collection). Will take a look.
Fixed with commits https://github.com/ramr/nodejs-custom-version-openshift/commit/7140f2cc5ea8fece725c691e75af859541ed7344