Suddenly, I get errors trying to run rake. one of the lines is: dlopen(/Users/kosta/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/x86_64-darwin13.0/psych.bundle, 9): Library not loaded: /usr/local/lib/libyaml-0.2.dylib - does the ruby-2.1.1/lib/ruby/2.1.0 make sense? if not, what could cause it? mixup in PATH? upgrading something I shouldn't have? something else? Also, I see now that I don't even have libyaml-0.2 available on my system, neither
In a certain project directory (octopress) , runnint 'rake' gives an error about libyaml and missing psych. part of the error message is as follows: dlopen(/Users/kosta/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/x86_64-darwin13.0/psych.bundle, 9): Library not loaded: /usr/local/lib/libyaml-0.2.dylib -- now, it seems weird that ruby-2.1.1 would have ruby-2.1.0 subdirs - is this normal or did something bad happen with my installation? in
addition, why is it looking for libyaml-0.2? I don't have that version (only 0.16) in either of macports or homebrew?
Hanmac1: well, I'm using the OS I'm using, no point in calling it crap (perhaps it is, but so is windows, together taking >90% of the desktop OS marketshare), since it doesn't get us anywhere
turns out I accidentally uninstalled a brew installed libyaml when I thought that nothing depended on it. Then when the error came, I installed the ports version which put it in another place
I don't know why ruby didn't just recognize the other version (since the package version and soname are the same), but reinstalling the brew version instead of the ports one fixed the problem
eam: so probably if I installed ruby from homebrew, it has to work with whatever libs from homebrew, and if I built it by hand, it has to work with the same paths forever... Thats why the rake message told me to rebuild it! thanks!
I'm trying to modify a piece of code without actually learning ruby rigorously... Do case statements evaluate only the first clause that matches, or all matching clauses (I'm guessing the former, but better be sure)?