issue with rhc setup and openshift

This is my first time trying out openshift or similar services and I have been running into problems with rhc setup.

I have installed Ruby, Git and rhc according to the documentation here, but when I run the rhc setup command in command prompt I get the following error:

  • Advantages of GitHub over Bitbucket for Git Repositories
  • Reproducing git branching model with help of mercurial bookmarks
  • Git - Selective Branching
  • How to merge the branch with no changes into master branch in git?
  • Why is an interactive rebase squishing my commits together?
  • How to clone, based on a subpath within a remote repository
  • C:\Users\Richie>rhc setup
    C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
    : cannot load such file -- dl/import (LoadError)
            from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
    :in `require'
            from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/au
    thentication/pageant.rb:1:in `<top (required)>'
            from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
    :in `require'
            from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
    :in `require'
            from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/au
    thentication/agent/socket.rb:5:in `<top (required)>'
            from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
    :in `require'
            from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
    :in `require'
            from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/au
    thentication/agent.rb:22:in `<top (required)>'
            from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
    :in `require'
            from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
    :in `require'
            from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/au
    thentication/key_manager.rb:4:in `<top (required)>'
            from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
    :in `require'
            from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
    :in `require'
            from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh/au
    thentication/session.rb:4:in `<top (required)>'
            from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
    :in `require'
            from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
    :in `require'
            from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/net-ssh-2.9.2/lib/net/ssh.rb
    :11:in `<top (required)>'
            from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
    :in `require'
            from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
    :in `require'
            from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/ssh_helpe
    rs.rb:18:in `<top (required)>'
            from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/wizard.rb
    :77:in `<class:Wizard>'
            from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/wizard.rb
    :7:in `<module:RHC>'
            from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/wizard.rb
    :6:in `<top (required)>'
            from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
    :in `require'
            from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
    :in `require'
            from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/commands/
    base.rb:4:in `<top (required)>'
            from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/commands/
    account.rb:2:in `<module:Commands>'
            from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/commands/
    account.rb:1:in `<top (required)>'
            from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
    :in `require'
            from C:/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
    :in `require'
            from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/commands.
    rb:189:in `block in load'
            from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/commands.
    rb:188:in `each'
            from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/commands.
    rb:188:in `load'
            from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/lib/rhc/cli.rb:36
    :in `start'
            from C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rhc-1.36.4/bin/rhc:20:in `<t
    op (required)>'
            from C:/Ruby22-x64/bin/rhc:23:in `load'
            from C:/Ruby22-x64/bin/rhc:23:in `<main>'
    

    I am running Windows 7 if that makes a difference.

    If someone can help me resolve this issue it would be much appreciated as I have little experience with this stuff myself.

  • Comparison of CA Software Change Manager (Harvest) and Git according to Revision Control
  • Angular 2 polyfills trouble
  • git status returns fatal: Not a git repository but .git exists and HEAD has proper permissions
  • What does docker use for (image) versioning?
  • Git commit bash script
  • git-upload-pack not found while adding new repository to Eclipse Git
  • One Solution collect form web for “issue with rhc setup and openshift”

    Use the recommended version (1.9.3)

    Git Baby is a git and github fan, let's start git clone.