I hereby claim:
- I am lest on github.
- I am lest (https://keybase.io/lest) on keybase.
- I have a public key whose fingerprint is 0662 4AEB 6B87 0E19 A71E 47E6 ACB5 8ED0 6F6A 107C
To claim this, I am signing this object:
An exception occurred running script/rails | |
uninitialized constant Encoding::BINARY (NameError) | |
User defined backtrace: | |
/Users/lest/code/rails/activesupport/lib/active_support/buffered_logger.rb:66:in `open_log' | |
/Users/lest/code/rails/activesupport/lib/active_support/buffered_logger.rb:65:in `open_log' | |
/Users/lest/code/rails/activesupport/lib/active_support/buffered_logger.rb:57:in `initialize' | |
/Users/lest/code/rails/railties/lib/rails/application/bootstrap.rb:27:in `Bootstrap' | |
/Users/lest/code/rails/railties/lib/rails/initializable.rb:30:in `run' | |
/Users/lest/code/rails/railties/lib/rails/initializable.rb:55:in `run_initializers' |
~/code/test_rails_app % RBXOPT=-X19 ~/code/rubinius/bin/rbx script/rails console 23:23 | |
/Users/lest/code/rubinius/lib/rubygems/custom_require.rb:29:in `require': | |
It seems your ruby installation is missing psych (for YAML output). | |
To eliminate this warning, please install libyaml and reinstall your ruby. | |
Rails Error: Unable to access log file. Please ensure that /Users/lest/code/test_rails_app/log/development.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed. | |
Loading development environment (Rails 3.2.0.beta) | |
rbx-head :001 > Foo.first | |
Foo Load (0.7ms) SELECT "foos".* FROM "foos" LIMIT 1 | |
=> #<Foo id: 1, name: nil, created_at: "2011-11-23 19:45:50", updated_at: "2011-11-23 19:45:50"> | |
rbx-head :002 > |
wget "ftp://ftp.cwru.edu/pub/bash/readline-6.2.tar.gz" | |
tar xf readline-6.2.tar.gz | |
cd readline-6.2 | |
./configure --prefix=$HOME/.rbenv/versions/1.9.3-p125 | |
make -j 2 | |
make install | |
cd .. | |
wget "http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz" | |
tar xf yaml-0.1.4.tar.gz |
# rails command | |
_script_rails() { | |
local check_dir=$PWD | |
while [ "$(dirname $check_dir)" != "/" ]; do | |
if [ -f "$check_dir/script/rails" ]; then | |
"$check_dir/script/rails" $@ | |
return | |
fi | |
check_dir="$(dirname $check_dir)" | |
done |
#!/bin/sh | |
REPO="$1" | |
OUTFILE="$2" | |
gource -s 2 -i 20 -a 1 --stop-at-end \ | |
--output-ppm-stream - --output-framerate 25 \ | |
--multi-sampling \ | |
--highlight-all-users "$REPO" | \ | |
\ |
SELECT | |
table_name, | |
pg_size_pretty(table_size) AS table_size, | |
pg_size_pretty(indexes_size) AS indexes_size, | |
pg_size_pretty(total_size) AS total_size | |
FROM ( | |
SELECT | |
table_name, | |
pg_table_size(table_name) AS table_size, | |
pg_indexes_size(table_name) AS indexes_size, |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object: