Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated gemsets to use final release of Bundler.
- Loading branch information
1 parent
454fa3c
commit a64e619
Showing
5 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
jruby-openssl | ||
bundler -v1.0.0.rc.5 --pre | ||
bundler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
bundler -v1.0.0.rc.5 --pre | ||
bundler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
bundler -v1.0.0.rc.5 --pre | ||
bundler |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bundler |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bundler |
a64e619
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, care to do a pull request?
a64e619
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I'm writing scripts that can spin up servers on EC2 and install my rails application. I'd like this to happen in a deterministic manner; if I don't change my code, I'd expect the exact same set of software to end up on the box.
Unless I'm reading this wrong, RVM foils this by always installing the latest/greatest bundler gem in the global gemset for each interpreter. Depending on when you run - even if you run with the same version of RVM - this could leave your box in a different state than previous runs.
My solution to this is to blow away these global.gems files before I install any ruby interpreters, and then install the exact version of bundler I want. This works fine, but I feel like RVM's dependencies should behave this way by default. Can this be achieved? Easiest way that I can imagine is to add a hardcoded Bundler version to this file and its ilk. But obviously that's a bit painful as it requires human intervention to update the version of bundler that RVM points to.
Other ideas, or thoughts?
Thanks for listening!
Mike
a64e619
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi mag.
I had similar problem - I'm installing rvm by chef-client and I also want to know which gems will be installed.
So my solution was to simply remove this global.gems file and install them on my own. Also if you need script for installing custom version of rvm, here it is:
This will take code tagged i.e. as 1.0.11
a64e619
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mag,
Simply replace the .gems files with your specific default / global gem lists.
a64e619
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's what I did, thanks Wayne.
Mike