I was running mysql using packages downloaded from Mysql website and they were installed in Some recommend reinstalling key packages that you have installed using homebrew before ML upgrade.I did not bother to reinstall all the packages, but I did reinstall imagemagick.Īt this point you should have a working ruby and rails setup.You should be able to compile ruby 1.9.3 without requiring any of above flags. This step may require you to logout and login again.Įven if you already had ruby 1.8.7/1.9.3 compiled, I will urge you to recompile new one - just to ensure everything works perfectly. To do: sudo ln -s /usr/local/bin/gcc-4.2 /usr/bin/gcc-4.2 Unfortunately this won’t work for few odd gems and hence, you also need Update your ~/.zshrc or ~/.bashrc and add following lines:Ībove line should take care of compiling ruby itself and many native gems which use properĬompiler detection. Configure apple-gcc42 as default compiler.Ruby versions before 1.9.3 can’t be easily compiled using llvm-gcc compiler. If you are like me, you still have few applications running on 1.8.7.Change permissions of Homebrew directory.Install command line tools of XCode as instructed in Prem’s blog post. Looks like, if you don’t care much about developing iOS or OSX applications, you can skip this step. Upgrade using installer from App store and reboot.Take backup via Time Machine or superduper!.To Kenny for adding much to those instructions. Prem of thoughtbot already had some brief instructions about upgrading to mountain lion and then thanks
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |