gem - RHC not working on OpenShift instance -
i getting started node, created instance on openshift , trying install rhc can setup aliases domain name.
i ran following , installation successful rhc (1.25.2).
gem install rhc
the next step run:
rhc setup
however, i'm getting error
bash: rhc: command not found
help appreciated. ultimately, problem trying fix stopping website redirecting http://www.example.com -> https://www.example.com/app
--
update:
i found rhc located in /var/lib/openshift/[myuserdir]/.gem/bin , tried run setup , ended message:
./rhc setup openshift client tools (rhc) setup wizard wizard upload ssh keys, set application namespace, , check other programs git installed. unexpected error occured: undefined method `[]' nil:nilclass
update 2:
rhc setup runs, fails when attempting generate token:
generate token now? (yes|no) yes generating authorization token client ... /usr/lib/ruby/1.8/fileutils.rb:243:in `mkdir': permission denied - /var/lib/openshift/[hidden]/.openshift (errno::eacces)
Comments
Post a Comment