Skip to content

Instantly share code, notes, and snippets.

@pferrel
pferrel / gist:7073819
Created October 20, 2013 19:05
This the "view->developer->source" content before everything is fetched and execution of javascript starts.
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Guide</title>
<meta name="description" content="Guide">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Guide</title>
package finderbots.recommenders.hadoop.mongo;
import com.google.code.morphia.Datastore;
import com.google.code.morphia.DatastoreImpl;
import com.google.code.morphia.Key;
import com.google.code.morphia.Morphia;
import com.google.code.morphia.dao.DAO;
import com.google.code.morphia.query.Query;
import com.google.code.morphia.query.QueryResults;
Maclaurin:guide pat$ find /usr/local -name libyaml*
/usr/local/Cellar/libyaml
/usr/local/Cellar/libyaml/0.1.4/lib/libyaml-0.2.dylib
/usr/local/Cellar/libyaml/0.1.4/lib/libyaml.a
/usr/local/Cellar/libyaml/0.1.4/lib/libyaml.dylib
/usr/local/Cellar/ruby/1.9.3-p0.old/share/ri/1.9.1/system/Psych/libyaml_version-c.ri
/usr/local/Cellar/ruby/1.9.3-p194/share/ri/1.9.1/system/Psych/libyaml_version-c.ri
/usr/local/Library/Formula/libyaml.rb
/usr/local/opt/libyaml
Maclaurin:guide pat$
Maclaurin:guide pat$ rvm use 1.9.3 ; ruby -rpsych -e 'puts Psych'
Using /Users/pat/.rvm/gems/ruby-1.9.3-p448
/Users/pat/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': dlopen(/Users/pat/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/x86_64-darwin12.4.0/psych.bundle, 9): Library not loaded: /usr/local/lib/libyaml-0.2.dylib (LoadError)
Referenced from: /Users/pat/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/x86_64-darwin12.4.0/psych.bundle
Reason: image not found - /Users/pat/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/x86_64-darwin12.4.0/psych.bundle
from /Users/pat/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/pat/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/psych.rb:1:in `<top (required)>'
from /Users/pat/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/pat/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
Maclaurin:guide pat$
Maclaurin:guide pat$ cat /Users/pat/.rvm/src/ruby-1.9.3-p448/ext/{*yaml,psych}/*.log
cat: /Users/pat/.rvm/src/ruby-1.9.3-p448/ext/*yaml/*.log: No such file or directory
find_header: checking for yaml.h... -------------------- yes
"/usr/local/bin/gcc-4.2 -E -I../../.ext/include/x86_64-darwin12.4.0 -I../.././include -I../.././ext/psych -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <yaml.h>
pat$ rvm --debug reinstall 1.9.3
1.9.3 - reinstall
Log prefix: /Users/pat/.rvm/log/1376960330_ruby-1.9.3-p448/
Log filesystem: local,
Log max name length: 250
Log file: /Users/pat/.rvm/log/1376960330_ruby-1.9.3-p448/remove.src.log
[2013-08-19 17:58:50] __rvm_rm_rf
__rvm_rm_rf ()
{
__rvm_rm_rf_verbose "$@"
cat /Users/pat/.rvm/src/ruby-1.9.3-p448/ext/{*yaml,psych}/*.log
cat: /Users/pat/.rvm/src/ruby-1.9.3-p448/ext/*yaml/*.log: No such file or directory
find_header: checking for yaml.h... -------------------- yes
"/usr/local/bin/gcc-4.2 -E -I../../.ext/include/x86_64-darwin12.4.0 -I../.././include -I../.././ext/psych -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <yaml.h>
pat$ gem env
/Users/pat/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/yaml.rb:84:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
RubyGems Environment:
- RUBYGEMS VERSION: 1.8.23
- RUBY VERSION: 1.9.3 (2013-06-27 patchlevel 448) [x86_64-darwin12.4.0]
- INSTALLATION DIRECTORY: /Users/pat/.rvm/gems/ruby-1.9.3-p448
- RUBY EXECUTABLE: /Users/pat/.rvm/rubies/ruby-1.9.3-p448/bin/ruby
- EXECUTABLE DIRECTORY: /Users/pat/.rvm/gems/ruby-1.9.3-p448/bin
pat$ gem -v
/Users/pat/.rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/yaml.rb:84:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
1.8.23
/etc/profile:11:source /etc/profile.d/rvm.sh
/etc/zprofile:2:source /etc/profile.d/rvm.sh