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
[~] rvm use 1.9.2 | |
-bash: export: `rvm_path rvm_interactive_flag rvm_version rvm_ruby_string ': not a valid identifier | |
-bash: unset: `rvm_ruby_string ': not a valid identifier | |
mkdir: /ruby-1.9.2-p0@: Permission denied | |
Using /Users/david/.rvm/gems/ruby-1.9.2-p0 |
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
+ [[ -z '' ]] | |
+ export 'PS4=-[${BASH_SOURCE}] : ${LINENO} : ${FUNCNAME[0]:+${FUNCNAME[0]}() > }' | |
+ PS4='-[${BASH_SOURCE}] : ${LINENO} : ${FUNCNAME[0]:+${FUNCNAME[0]}() > }' | |
-[/Users/david/.rvm/scripts/cli] : 565 : __rvm_parse_args() > [[ -z '' ]] | |
-[/Users/david/.rvm/scripts/cli] : 565 : __rvm_parse_args() > [[ -n '' ]] | |
-[/Users/david/.rvm/scripts/cli] : 567 : __rvm_parse_args() > [[ 0 -eq 1 ]] | |
-[/Users/david/.rvm/scripts/cli] : 567 : __rvm_parse_args() > [[ -n '' ]] | |
-[/Users/david/.rvm/scripts/cli] : 15 : __rvm_parse_args() > [[ -n use ]] | |
-[/Users/david/.rvm/scripts/cli] : 17 : __rvm_parse_args() > rvm_token=use | |
-[/Users/david/.rvm/scripts/cli] : 19 : __rvm_parse_args() > [[ 1 -gt 0 ]] |
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
+ [[ -z '' ]] | |
+ export 'PS4=-[${BASH_SOURCE}] : ${LINENO} : ${FUNCNAME[0]:+${FUNCNAME[0]}() > }' | |
+ PS4='-[${BASH_SOURCE}] : ${LINENO} : ${FUNCNAME[0]:+${FUNCNAME[0]}() > }' | |
-[/Users/david/.rvm/scripts/cli] : 562 : __rvm_parse_args() > [[ -z '' ]] | |
-[/Users/david/.rvm/scripts/cli] : 562 : __rvm_parse_args() > [[ -n '' ]] | |
-[/Users/david/.rvm/scripts/cli] : 564 : __rvm_parse_args() > [[ 0 -eq 1 ]] | |
-[/Users/david/.rvm/scripts/cli] : 564 : __rvm_parse_args() > [[ -n '' ]] | |
-[/Users/david/.rvm/scripts/cli] : 14 : __rvm_parse_args() > [[ -n use ]] | |
-[/Users/david/.rvm/scripts/cli] : 15 : __rvm_parse_args() > rvm_token=use | |
-[/Users/david/.rvm/scripts/cli] : 16 : __rvm_parse_args() > [[ 1 -gt 0 ]] |
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
[~] rvm use 1.9.2 | |
-bash: unset: `rvm_ruby_gem_home rvm_ruby_string rvm_ruby_version rvm_ruby_interpreter ': not a valid identifier | |
info: Using /Users/david/.rvm/gems/ruby-1.9.2-p0 |
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
function git_state { | |
if [ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]; then | |
echo "dirty" | |
else | |
if [ $(git log -n 1 --pretty=oneline | grep wip) ]; then | |
echo "wip" | |
else | |
echo "clean" | |
fi | |
fi |
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
require 'rubygems' | |
require 'sinatra/base' | |
require 'rest_client' | |
class Foo < Sinatra::Base | |
get '/' do | |
'foo' | |
end | |
end |
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
function git_state { | |
if [ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]; then | |
echo "dirty" | |
else | |
if [ $(git log -n 1 --pretty=oneline | grep wip) ]; then | |
echo "wip" | |
else | |
echo "clean" | |
fi | |
fi |
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
module Foo | |
def bar | |
"bar" | |
end | |
def self.fred | |
"fred" | |
end | |
end |
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
function git_state { | |
if [ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]; then | |
echo "dirty" | |
else | |
if [ $(git log -n 1 --pretty=oneline | grep wip) ]; then | |
echo "wip" | |
else | |
echo "clean" | |
fi | |
fi |
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
source "http://gemcutter.org" | |
source "http://gems.github.com" | |
gem 'rails', '2.3.2', :require => nil | |
gem 'authlogic', '2.1.1' | |
gem 'mislav-will_paginate', '~> 2.3.8', :require => 'will_paginate' | |
gem 'haml', '2.0.9' | |
gem 'paperclip', '2.3.1.1' | |
gem 'configatron', '2.3.2' | |
gem 'chronic', '~> 0.2.3' |