Openshift and net-ssh incompatibility? (2.9.3-beta1 vs 2.9.2)
You need to use an older version of Ruby, try 1.9.3 or 2.0, or maybe even 2.1.
Openshift Port forwarding
You are probably using the beta version of the net-ssh gem. You need to install version net-ssh (2.9.2), and remove 2.9.3-beta1.
You can see what version of the net-ssh gem you are using with the following command:
gem list net-ssh
The results should look like this:
$gem list net-ssh
*** LOCAL GEMS ***
net-ssh (2.9.2)
net-ssh-gateway (1.2.0)
net-ssh-multi (1.2.0)
Openshift port-forwarding
In your console output I see the following error:Could not parse PKey: no start line
I also see you are running rhc on a Windows machine.
What version of Ruby do you have installed? I was getting that same error message when trying to use rhc with the latest version of Ruby on my Windows machine. In order to get all rhc commands to work correctly in windows I had to uninstall rhc, uninstall the latest version of Ruby, install Ruby version 1.9.3 and then reinstall rhc.
Openshift rhc ssh IO error after env set JAVA_OPTS_EXTcommand
I don't know for what reason after setting a different value onto the JAVA_OPTS_EXT it locked me out of permissions. It was sufficient to unset the variable and set it again to a desired value. Everything started to work smoothly again afterwards.
A command to unset the environment variable: "rhc env unset {VARIABLE1} -a {APP_NAME}"
A command to set the environment variable: "rhc env set {VARIABLE1}={VALUE1} -a {APP_NAME}"
For further info about the manipulation of environmnet variables refer to https://developers.openshift.com/managing-your-applications/environment-variables.html
rhc setup gives error `no such file dl/import`
Updating net-ssh to 2.9.3.beta1, as cremno suggested in this comment, resolved my problem.
gem install net-ssh -v 2.9.3.beta1
Before that, I tried gem install net-ssh
, but it didn't help.
Related Topics
Time Gt Query Not Working with Mongoid and Ruby on Rails
Accepts_Nested_Attributes_For Ignore Blank Values
Using SASS with User-Specified Colors
Change Default Date Format in Ruby on Rails
Using Phonegap as a Native Container for a Rails 3 App
/Config/Initializers/Secret_Token.Rb Not Being Generated. Why Not
Consequences of Implementing To_Int and To_Str in Ruby
How to Upload a File with Watir and Ie
Sass Variables Not Parsing Correctly - Undefined Variable: "$Ct-White"
Issues Installing Ruby and Rails and Devkit on Windows 7 X64 - Fix Needed