cloudfoundry / docs-deploying-cf

The docs repo for material on deploying Cloud Foundry
Apache License 2.0
15 stars 101 forks source link

Instructions for preparing ruby to run the installation script #79

Closed avh4 closed 8 years ago

avh4 commented 8 years ago

Updated to the installation instructions for the following reasons:

Running the script without ruby-2.1.8 gave the following error (I had ruby 2.2.0):

rbenv: version `2.1.8' is not installed (set by /Users/pivotal/workspace/av/bosh-demo/cf-release/.ruby-version)
rbenv: version `2.1.8' is not installed (set by /Users/pivotal/workspace/av/bosh-demo/cf-release/.ruby-version)
Can only target Bosh Lite Director. Please use 'bosh target' before running this script.
rbenv: version `2.1.8' is not installed (set by /Users/pivotal/workspace/av/bosh-demo/cf-release/.ruby-version)

After installing ruby-2.1.8, the script gave the following error until I installed the bundler gem:

/Users/pivotal/.rbenv/versions/2.1.8/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler/setup (LoadError)
    from /Users/pivotal/.rbenv/versions/2.1.8/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/Users/pivotal/.rbenv/versions/2.1.8/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler/setup (LoadError)
    from /Users/pivotal/.rbenv/versions/2.1.8/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
Can only target Bosh Lite Director. Please use 'bosh target' before running this script.
cfdreddbot commented 8 years ago

Hey avh4!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you've already signed the CLA.

cf-gitbot commented 8 years ago

We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/113391671.

avh4 commented 8 years ago

I don't remember signing a CLA. Is this because I am a Pivotal employee?

jbheron commented 8 years ago

Hi avh4,

Yes, as a Pivotal employee, we consider you as having already signed the CLA. Thanks for the PR. Merged!