projectatomic / vagrant-service-manager

To provide the user a CLI to configure the ADB/CDK for different use cases and to provide glue between ADB/CDK and the user's developer environment.
GNU General Public License v2.0
18 stars 16 forks source link

undefined method `captures' for nil:NilClass #365

Closed naina-verma closed 8 years ago

naina-verma commented 8 years ago

undefined method captures' for nil:NilClass ,while doing install-cli for openshift version vagrant service-manager install-cli openshift --cli-version 3.1 OS details: Tested on Windows 10 , Fedora 23`

Provider: VirtualBox and/or Libvirt

Output of vagrant -v:

Vagrant 1.7.4

Output of vagrant plugin list:

`$ vagrant.exe plugin list landrush (1.1.0.beta.3)

Output of vagrant service-manager box version:

Atomic Developer Bundle (ADB) 2.2.2

Steps to reproduce the issue:

  1. Download latest ADB and did vagrant up,plugins installed are latest
  2. install-cli command to download oc binary vagrant service-manager install-cli openshift
  3. Error while downloading openshift binary with version (Works fine with docker)

It should show valid error message if the version is invalid

coolbrg commented 8 years ago

@naina-verma This is related to how proper error messaging should be. It has been fixed by the PR https://github.com/projectatomic/vagrant-service-manager/pull/363.

Now, error message is :

Something went wrong to find the correct download link.
We recommend you to use '--cli-version' for your desired client version.
If still facing issues, please report to https://github.com/projectatomic/vagrant-service-manager.
naina-verma commented 8 years ago

@budhrg ,yes it should be showing proper error message. But, as per the error shows up looks like something is broken.

hferentschik commented 8 years ago

Resolved via pull request #363