-
-
Save wayneeseguin/ed6423a598b2c0c2a0e9 to your computer and use it in GitHub Desktop.
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
# Mike, | |
# I hope that you find the following useful as it | |
# sounds like this is a common task for you. | |
# Place this in your ~/.bash_profile or shell 'dotfiles' | |
# Or simply paste it into the terminal you want to use it in | |
gemspecinstall() { | |
# Install Bundler, w00t!!! | |
gem install bundler --pre | |
# Create a Gemfile to build the gem from the gemspec. | |
printf "source :rubygems\ngemspec :path => '.'\n" > Gemfile | |
# Install Z gem! | |
bundle install | |
} | |
# or gembundle or whatever name makes sense :) | |
sandboxbundle() { | |
# Create a gemset for the current directory (gem) name | |
# under the currently selected (RVM) Ruby, optional. | |
rvm --create use "${rvm_ruby_string}@$(basename $(pwd))" | |
gemspecinstall | |
# Scratch that itch! | |
rake | |
} | |
# Then to use it from the directory you cloned a gem into: | |
sandboxbundle | |
# If you only want to install the gem to the current | |
# environment istead of sandboxed, from the cloned gem root: | |
gemspecinstall | |
# Enjoy!!! | |
# ~Wayne |
I never said this was a best way so NO :) This was me refactoring some code for someone.
lol, are you a politician. Do you have a recommend workflow you use? I am
having trouble finding anyinfo on the subject. It's like secret sauces that
get passed down from generation to generation.
D.
On Wed, Aug 17, 2011 at 6:32 AM, wayneeseguin < ***@***.***>wrote:
I never said this was a best way so NO :) This was me refactoring some
code for someone.
##
Reply to this email directly or view it on GitHub:
https://gist.github.com/ed6423a598b2c0c2a0e9
##
darren pearce | interactive designer | o:403.475.4545 | m:403.630.6258
I'd be happy to screen share with you and show you my workflow. The reason I do not say 'this is the way' is because workflows are both personal and dependent on what you are working with. I do have a generalized workflow that I use and then add custom tooling for application specific items.
Hey that would be awesome if you would do that. When's a good time for you.
D.
On Thu, Aug 18, 2011 at 9:30 AM, wayneeseguin < ***@***.***>wrote:
I'd be happy to screen share with you and show you my workflow. The reason
I do not say 'this is the way' is because workflows are both personal and
dependent on what you are working with. I do have a generalized workflow
that I use and then add custom tooling for application specific items.
##
Reply to this email directly or view it on GitHub:
https://gist.github.com/ed6423a598b2c0c2a0e9
##
darren pearce | interactive designer | o:403.475.4545 | m:403.630.6258
Find me on IRC in #rvm during daytime EDT
Hey is this offer still available :)
d.
On Fri, Aug 19, 2011 at 8:42 AM, wayneeseguin < ***@***.***>wrote:
Find me on IRC in #rvm during daytime EDT
##
Reply to this email directly or view it on GitHub:
https://gist.github.com/ed6423a598b2c0c2a0e9
##
darren pearce | interactive designer | o:403.475.4545 | m:403.630.6258
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hey wayne is this still the best way to work with bundler and rvm?