puppet-rbenv icon indicating copy to clipboard operation
puppet-rbenv copied to clipboard

Install rbenv and plugins using vcsrepo

Open tristanm opened this issue 12 years ago • 11 comments

This is a "first attempt" at using vcsrepo to manage rbenv and rbenv plugins from Git repos. I haven't updated any tests or anything like that yet but please have a look at my changes and let me know if you think this is a worthy feature and I'll continue work on this.

tristanm avatar Feb 19 '13 04:02 tristanm

:+1: I like it! I was actually thinking about how we could add support for updating rbenv itself and it seems that they would handle it out of the box

fgrehm avatar Feb 19 '13 13:02 fgrehm

I am not sure about this. I want to take a closer look at vcsrepo project. Is it stable enough to depend on it?

alup avatar Feb 19 '13 13:02 alup

My common use case is to run puppet-rbenv on vagrant boxes and since we already had issues with puppet modules related code on this project, I can try it over there and see if it works fine

fgrehm avatar Feb 19 '13 13:02 fgrehm

@fgrehm super

alup avatar Feb 19 '13 14:02 alup

I was about to fork this project to add vscrepo support myself. What is the status of this pull request? I'd also use vcsrepo to add https://github.com/sstephenson/ruby-build.

mcallaway avatar Mar 17 '13 17:03 mcallaway

following up on this one, I completely forgot about this one and unfortunately I wasn't able to try out vcsrepo on vagrant. I'll get back to this as soon as I have a chance

fgrehm avatar Mar 25 '13 20:03 fgrehm

We're using separate vcsrepo resources to manage the rbenv and ruby-build directories that this module puts in place. Works great.

intjonathan avatar May 16 '13 21:05 intjonathan

Love this. Although the dependency still needs to be setup on the module file.

juanibiapina avatar May 31 '13 17:05 juanibiapina

This module has actually stopped working for me on ubuntu raring. Using this patch has been the only solution.

juanibiapina avatar Jun 10 '13 02:06 juanibiapina

Also, it seems like a sensible way to keep both rbenv and ruby-build up to date.

juanibiapina avatar Jul 03 '13 21:07 juanibiapina