This file contains hidden or 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> | |
| <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> |
This file contains hidden or 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
| 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; |
This file contains hidden or 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
| 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$ |
This file contains hidden or 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
| 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$ |
This file contains hidden or 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
| 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> |
This file contains hidden or 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
| 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 "$@" |
This file contains hidden or 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
| 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> |
This file contains hidden or 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
| 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 |
This file contains hidden or 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
| 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 |
This file contains hidden or 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
| /etc/profile:11:source /etc/profile.d/rvm.sh | |
| /etc/zprofile:2:source /etc/profile.d/rvm.sh |