Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cloudfoundry_source does not install rbenv #2

Open
andreacampi opened this issue Feb 21, 2013 · 2 comments
Open

cloudfoundry_source does not install rbenv #2

andreacampi opened this issue Feb 21, 2013 · 2 comments
Assignees
Labels

Comments

@andreacampi
Copy link
Member

From Fabrizio Frosali

Deploying with run list:

recipe[cloudfoundry-dea]

errors out:

rbenv not installed. Can't run rbenv_command


# In /var/chef/cache/cookbooks/cloudfoundry/providers/source.rb

 54:     gr = rbenv_gem "bundler" do
 55:       version new_resource.bundler_version
 56:       ruby_version new_resource.ruby_version
 57:       action :nothing
 58:     end
 59:     gr.run_action(:install)
@andreacampi
Copy link
Member Author

It would be nice to fix this so that cloudfoundry_source can install its own dependencies, but that's not an easy fix.

All other cookbooks install rbenv for themselves, so I'm going to do the same here.
We can improve that later and clean all the cookbooks up.

@ghost ghost assigned andreacampi Feb 21, 2013
@andreacampi
Copy link
Member Author

On second thought: we still want to be able to specify the version of ruby that we want, as we do in every other cookbook.
So the code that we have may not be ideal (and could be factored out into a library) but it's not really incorrect.

andreacampi pushed a commit to andreacampi/cloudfoundry-dea-cookbook that referenced this issue Feb 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant