This file contains hidden or 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
| # System-wide .bashrc file for interactive bash(1) shells. | |
| if [ -z "$PS1" ]; then | |
| : # no-op | |
| fi | |
| PS1='\h:\W \u\$ ' | |
| # Make bash check its window size after a process completes | |
| shopt -s checkwinsize | |
| [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session. |
This file contains hidden or 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
| # | |
| # NOTE: You may require ~/.rvm/lib/rvm after adding ~/.rvm/lib to the load path $: | |
| # OR 'gem install rvm' and require the RVM API as a gem! | |
| # | |
| require "rvm" | |
| results = [] | |
| # | |
| # Iterate over an RVM Environment object for each interpreter |
This file contains hidden or 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
| Name: Wayne E. Seguin | |
| Email: [email protected] | |
| url: http://rvm.beginrescueend.com/ | |
| Mike, | |
| Forums and blog posts are not the place to discuss features and bugs, but rather by joining #rvm in irc.freenode.net during the daytime EDT and work it out with me in *real time*. | |
| Yes this is in opposition to some time lagged forum / email thread that will be outdated and mislead users in the future who think it is the most recent on the topic (There IS a community google group for the community by the community for RVM, however IRC is the proper means of communication for RVM). |
This file contains hidden or 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
| tar jxf bdsm-0.0.6.tar.bz2 | |
| cd bdsm-0.0.6 | |
| sudo ./install | |
| sudo -i -u test | |
| bdsm bdsmrc |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| # Remove from .gitignore and check this into your repo!!! | |
| if [[ "Linux" = "$(uname)" ]] ; then | |
| # Production | |
| gemset_name="mindworx" | |
| else | |
| # Development | |
| gemset_name="othergemsetname" |
This file contains hidden or 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
| export RUBY_HEAP_MIN_SLOTS=1000000 | |
| export RUBY_HEAP_SLOTS_INCREMENT=1000000 | |
| export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1 | |
| export RUBY_GC_MALLOC_LIMIT=1000000000 | |
| export RUBY_HEAP_FREE_MIN=500000 |
This file contains hidden or 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
| What Makoto Abe wrote: | |
| ---------------------------------------------------------------- | |
| Hi, | |
| Please distribute the following announcement amongst your | |
| Meetup members. If you have any questions, please let me know. | |
| Thanks and regards, | |
| Makoto Abe |
This file contains hidden or 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
| #!/bin/bash | |
| # | |
| # Copyright (c) 2007 Bradley Taylor, [email protected] | |
| # | |
| # Modifications by Wayne E. Seguin | |
| # | |
| # mongrel_cluster Startup script for Mongrel clusters. | |
| # | |
| # chkconfig: - 85 15 | |
| # description: mongrel_cluster manages multiple Mongrel processes for use \ |
This file contains hidden or 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
| function rvm_require_ruby | |
| { | |
| if ! rvm list strings | grep -q "^$1" ; then | |
| echo "ERROR: Requires Ruby Version: '$1'" | |
| return 1 | |
| fi | |
| return 0 | |
| } |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| cloop () { | |
| # First parameter is $1, second is $2, etc... | |
| # If you want to capture all arguments use "$@" | |
| # Here we declare a local variable promoting clarity | |
| local command="$@" | |
| # ':' denotes true in shell scripting. | |
| while : ; do |