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
# http://github.com/rails/rails/blob/master/railties/lib/rails/generators/actions.rb#L70-74 | |
# rails/railties/lib/rails/generators/actions.rb | |
# FROM: | |
in_root do | |
str = "gem #{parts.join(", ")}\n" | |
str = " " + str if @in_group | |
append_file "Gemfile", str, :verbose => false | |
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
launchctl unload -w ~/Library/LaunchAgents/com.mysql.mysqld.plist |
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
ArgumentError in RailsAdmin::MainController#dashboard | |
wrong number of arguments (1 for 2) | |
/Users/donahue/.rvm/gems/ruby-1.9.3-head@rails-3.1.3/bundler/gems/rails_admin-62737a597283/lib/rails_admin/extensions/paper_trail/auditing_adapter.rb:5:in `initialize' | |
/Users/donahue/.rvm/gems/ruby-1.9.3-head@rails-3.1.3/bundler/gems/rails_admin-62737a597283/lib/rails_admin/extensions/paper_trail/auditing_adapter.rb:39:in `new' | |
/Users/donahue/.rvm/gems/ruby-1.9.3-head@rails-3.1.3/bundler/gems/rails_admin-62737a597283/lib/rails_admin/extensions/paper_trail/auditing_adapter.rb:39:in `block in latest' | |
activerecord (3.1.1) lib/active_record/relation.rb:15:in `map' | |
activerecord (3.1.1) lib/active_record/relation.rb:15:in `map' | |
/Users/donahue/.rvm/gems/ruby-1.9.3-head@rails-3.1.3/bundler/gems/rails_admin-62737a597283/lib/rails_admin/extensions/paper_trail/auditing_adapter.rb:39:in `latest' |
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
~/code/test/ $ which flatiron | |
/usr/local/bin/flatiron | |
~/code/test/ $ flatiron create testApp | |
help: flatiron | |
help: | |
help: create - Creates an empty template for a flatiron application | |
help: | |
help: |
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
# Vows@0.6.0 OK: | |
jmd@mba ~/projects/test $ npm install vows@0.6.0 | |
npm http GET https://registry.npmjs.org/vows/0.6.0 | |
npm http 304 https://registry.npmjs.org/vows/0.6.0 | |
npm http GET https://registry.npmjs.org/eyes | |
npm http 304 https://registry.npmjs.org/eyes | |
npm WARN eyes@0.1.7 dependencies field should be hash of <name>:<version-range> pairs | |
vows@0.6.0 ./node_modules/vows | |
└── eyes@0.1.7 |
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
$ sudo apt-get update | |
$ sudo apt-get install git-core curl build-essential openssl libssl-dev | |
# node | |
$ git clone git://github.com/joyent/node.git && cd node | |
$ git checkout v0.6.17 | |
$ ./configure | |
$ make | |
$ sudo make install |
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
git clone git://github.com/antirez/redis.git && cd redis | |
git checkout v2.0.4-stable | |
sudo make install |
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_branch_name { | |
val=`git branch 2>/dev/null | grep '^*' | colrm 1 2` | |
echo "$val" | |
} | |
function parse_git_branch { | |
val=`git_branch_name | sed 's_\(.*\)_(\1)_'` | |
echo "$val" | |
} |
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
$ cd | |
$ git clone git://github.com/sstephenson/rbenv.git .rbenv | |
# Add the following to your .bashrc | |
export PATH="$HOME/.rbenv/bin:$PATH" | |
eval "$(rbenv init -)" | |
# Install ruby-build | |
$ mkdir -p ~/.rbenv/plugins | |
$ cd ~/.rbenv/plugins |
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
$ wget http://redis.googlecode.com/files/redis-2.4.8.tar.gz | |
$ tar xzf redis-2.4.8.tar.gz | |
$ cd redis-2.4.8 | |
$ make | |
# Start the server | |
$ src/redis-server |
OlderNewer