![]() Then one of those duh moments I noticed the script shebang was #!/usr/bin/ruby. System_ruby = Pathname.new("/usr/bin/ruby") I looked into the file /usr/local/bin (which is a script not a binary) and tried to redefine I fixed Homebrew by grabbing the brew binary from source and throwing it into my /usr/local/bin. Not a huge problem because I prefer to install a lot of tools from source (and now use the Mac. ![]() The problem I had is that while I was fighting with the system installed Ruby (I was trying to update it to 1.9.x) I broke my Hombrew installation. At the very least, if you want to install, say, MacVim or Homebrew, right “out of the box” with no headaches and work then you need System/Library/Framework/amework (and I guess many other system wide XCode tools). But as I learned painfully, you probably still have to have the system-wide Ruby installed in order to get applications and such installed and working. I now work completely within rvm (Ruby Version Manager). I have struggled long and hard with ho to work with this kind of system-wide ruby install and how to update it and use and …. I am not really used to the filesystem of Mac pre-isntalled stuff: especially the System/Library/Frameworks/amework. Mac is a nice mix between open-source code and proprietary-source code philosophies. In some ways it is nice to get back to supported OS and off the Linux path (though I still develop on my Fedora box). I’ve been using a mac now (MacBook Pro OSX 10.6.x) for abut 6 months now. ![]() bash: /usr/local/bin/brew: /usr/bin/ruby: bad interpreter: No such file or directory Long time no post: A small note today: My fix for this Homebrew error ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |