I can't execute command: vmc info - cloud-foundry

Here is the error info
D:/software/Ruby187/lib/ruby/site_ruby/1.8/rubygems/specification.rb:1637:in ra
ise_if_conflicts': Unable to activate cfoundry-0.4.8, because multi_json-1.3.6 c
onflicts with multi_json (~> 1.4.0) (Gem::LoadError)
from D:/software/Ruby187/lib/ruby/site_ruby/1.8/rubygems/specification.rb:746:in activate'

Uninstall multi_json by using the following command, when asked which version select "all versions"
gem uninstall multi_json
then, re-install vmc
gem install vmc

Related

Could not find method_source-1.0.0.gem for installation

I want to install redmine as a source by referring to the URL below.
https://www.redmine.org/projects/redmine/wiki/RedmineInstall
When I run the below in "Step 4 - Dependencies installation", I get an error.
/opt/redmine/redmine-5.0.0$ sudo bundler install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.
:
Installing method_source 1.0.0
Bundler::GemNotFound: Could not find method_source-1.0.0.gem for installation
:
/usr/local/bin/bundler:25:in `load'
/usr/local/bin/bundler:25:in `'
:
An error occurred while installing method_source (1.0.0), and Bundler cannot continue.
In Gemfile:
actionpack-xml_parser was resolved to 2.0.1, which depends on
railties was resolved to 6.1.4.7, which depends on
method_source
Im fixed this error by install gem manually:
gem install method_source

ERROR: While executing gem (OpenSSL::SSL::SSLError) SSL_read: Wrong version number

I installed Ruby 2.2.2 x64 and gem version 2.4.6. on Windows 7 64
I've run gem update --system
I get the above error when doing gem install rails --no-ri --no-rdoc
I've researched Google, but found no relevant answer. Any ideas?
RailsInstaller is the best package for installing rails on windows.It includes all required Packages. RilasInstaller - http://railsinstaller.org/en

Error installing rhc: net-scp requires net-ssh (>= 2.6.5, runtime)

I'm trying to install Open shift's client tool to access apps on OpenShift. But I get the following error when I try to install rhc:
Error installing rhc: net-scp requires net-ssh (>= 2.6.5, runtime)
Couldn't find much help online to resolve this error.
[I'm using an old MacBook running SnowLeopard.]
Thanks.
Snow Leopard comes with net-ssh 2.0.4 installed. Try running sudo gem update net-ssh in terminal to update net-ssh, then try installing rhc again.
You may want to just run sudo gem update to get all of your RubyGems up to date.

Bundler could not find compatible versions for jquery-ui-rails

I've created a new gemset, then, when I try to bundle install, I get this error:
Bundler could not find compatible versions for gem "jquery-ui-rails":
In Gemfile:
activeadmin (>= 0) ruby depends on
jquery-ui-rails (~> 5.0) ruby
alchemy_cms (~> 3.0.0.rc5) ruby depends on
jquery-ui-rails (4.1.1)
Although, I've apt-get update, any help?
remove the version constrain from alchemy_cms in Gemfile and run:
bundle update

Cannot Bootstrap chef (10.8) on new EC2 Instance - net-ssh conflict

I have found Can't install chef, gem version conflict with net-ssh net-ssh-multi net-ssh-gateway in my research, but unfortunately none of those workarounds work for me in my particular case.
I'm trying to bootstrap chef on an EC2 instance.
I cannot upgrade to 11.x.
This one does not work: (added command I run to install chef which includes --verbose and --version)
gem install net-ssh -v 2.2.2 --no-ri --no-rdoc
gem install net-ssh-gateway -v 1.1.0 --no-ri --no-rdoc --ignore-dependencies
gem install net-ssh-multi -v 1.1.0 --no-ri --no-rdoc --ignore-dependencies
gem install chef --no-ri --no-rdoc --verbose --version 0.10.8
Is there any way to work around this problem without upgrading chef?
I've also tried the above but with
gem install chef --pre --no-ri --no-rdoc
and that fails too. These are both workarounds outlined in the linked post above.
Does this blog post by Joshua Timberman help?
I encountered these issues running a 0.10.4 Chef Server and equivalent Chef Clients when using Knife EC2 tool to launch servers.
For anyone else like me who had issues getting KNIFE to launch an instance without this net-ssh issue, placing the following in my bootstrap file didn't work as per recommendations elsewhere on SO:
gem install chef --no-ri --nordoc --verbose --version 0.10.24
The way that worked was to use a flag on the knife ec2 command:
--bootstrap-version 10.24.0
The version can be higher than 10.20.0.