Skip to content
This repository has been archived by the owner on Jan 3, 2025. It is now read-only.

Define a Gemset #16

Open
maxbeizer opened this issue Feb 15, 2014 · 8 comments
Open

Define a Gemset #16

maxbeizer opened this issue Feb 15, 2014 · 8 comments
Assignees

Comments

@maxbeizer
Copy link
Contributor

The generator runs bundle install in the context of the global gemset. Where I realize that not every dev who uses this will have RVM installed, could we check if rvm is installed and (if so) create a .ruby-gemset and .ruby-version file?

I'm thinking something similar to this:
https://github.com/centresource/preseason/blob/master/preseason/recipe/rvm.rb

@dcalhoun
Copy link
Contributor

I don't want to require rvm, but if there's a way to check for it I'm on board. 👍

@dcalhoun
Copy link
Contributor

@maxbeizer Do you have any interest in exploring this and submitting a PR?

@maxbeizer
Copy link
Contributor Author

@dcalhoun I've done some digging. I hope to have a PR coming soon.

@maxbeizer
Copy link
Contributor Author

The issue I'm running into is that I cannot, from shelljs, seem to load RVM as a function:

RVM is not a function, selecting rubies with 'rvm use ...' will not work.

Any thoughts would be appreciated.

@dcalhoun
Copy link
Contributor

dcalhoun commented Jun 9, 2014

Please push your topic branch to origin. I'll try to take a look at it as well.

@dcalhoun
Copy link
Contributor

@maxbeizer do you still have an active branch with this work that you could push to origin?

@bval
Copy link
Contributor

bval commented Oct 25, 2014

Suggestion: Add a y/n prompt for .ruby-version/.ruby-gemset support, rather than trying to auto-detect it. Even if rvm is installed, we can't guarantee the user wants to actually utilize it.

@maxbeizer
Copy link
Contributor Author

@dcalhoun I think I jettisoned it. @BrandonValentine I agree.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants