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
➜ rake db:create:all --trace | |
** Invoke db:create:all (first_time) | |
** Invoke db:load_config (first_time) | |
** Invoke rails_env (first_time) | |
** Execute rails_env | |
** Execute db:load_config | |
** Execute db:create:all | |
rake aborted! | |
uninitialized constant Mysql | |
/Users/ashish/.rvm/gems/ree-1.8.7-2011.03@cs/gems/activerecord-3.1.0/lib/active_record/railties/databases.rake:81:in `create_database' |
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
gcc --version | |
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) | |
Copyright (C) 2007 Free Software Foundation, Inc. | |
This is free software; see the source for copying conditions. There is NO | |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
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 reinstall --force ree | |
Removing /Users/ashish/.rvm/src/ree-1.8.7-2011.03... | |
Removing /Users/ashish/.rvm/rubies/ree-1.8.7-2011.03... | |
Removing ree-1.8.7-2011.03 aliases... | |
Removing ree-1.8.7-2011.03 wrappers... | |
Removing ree-1.8.7-2011.03 environments... | |
Removing ree-1.8.7-2011.03 binaries... | |
Installing Ruby Enterprise Edition from source to: /Users/ashish/.rvm/rubies/ree-1.8.7-2011.03 | |
ree-1.8.7-2011.03 - #fetching (ruby-enterprise-1.8.7-2011.03) | |
ree-1.8.7-2011.03 - #extracting ruby-enterprise-1.8.7-2011.03 to /Users/ashish/.rvm/src/ree-1.8.7-2011.03 |
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
echo $CC | |
/usr/bin/gcc | |
➜ cs git:(master) rvm reinstall --force ree-1.8.7-2010.02 | |
Removing /Users/ashish/.rvm/src/ree-1.8.7-2010.02... | |
Removing /Users/ashish/.rvm/rubies/ree-1.8.7-2010.02... | |
Removing ree-1.8.7-2010.02 aliases... | |
Removing ree-1.8.7-2010.02 wrappers... | |
Removing ree-1.8.7-2010.02 environments... | |
Removing ree-1.8.7-2010.02 binaries... | |
Installing Ruby Enterprise Edition from source to: /Users/ashish/.rvm/rubies/ree-1.8.7-2010.02 |
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
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) | |
# Example format: plugins=(rails git textmate ruby lighthouse) | |
plugins=(git) | |
source $ZSH/oh-my-zsh.sh | |
# Customize to your needs... | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function |
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
set nocompatible " explicitly get out of vi compatibility mode | |
set number " enable line numbers | |
set ruler " always show current position on the status line | |
syntax on " turn syntax highlighting on | |
set encoding=utf-8 | |
" Whitespace related | |
set nowrap |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Puzzlenode</title> | |
<link rel="stylesheet" href="css/style.css" type="text/css" /> | |
</head> | |
<body> | |
<header id="banner"> | |
<h1>PuzzleNode</h1> |
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
@days << parse_line(line) if in_data_section && line.strip.match(/^\d/) |
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
places = %w( Reno Chicago Fargo Minnesota Buffalo Toronto Winslow Sarasota | |
Wichita Tulsa Ottawa Oklahoma Tampa Panama Mattawa La Paloma | |
Bangor Baltimore Salvador Amarillo Tocapillo Baranquilla and | |
Perdilla) | |
puts places.inject("I've been to: ") { |result, place| "#{result}#{place}, " } + "I'm a killer" |