Any issues with upgrading to Mac OS Yosemite for Rails development?
Please report any experiences so far.
Hopefully this will avoid some yak shaving if we share our experiences.
Any issues with upgrading to Mac OS Yosemite for Rails development?
Please report any experiences so far.
Hopefully this will avoid some yak shaving if we share our experiences.
So far the upgrade process was smooth for me. I followed option 1 in this article because I already heard few people faced that issue. After upgraded, I upgraded cmdline tools, and then reinstall mvim via homebrew.
Just did the upgrade. BIG WARNING!!! The numbers in the upgrade status indicator are WAY OFF! 2 minutes might mean 2 hours. Be patient. Donāt hard reboot!!!
Cmd-L to see log. Close log to allow reboot! 3+hrs!
If you use Homebrew, you should move any files in /usr/local/bin
out of that location and then back in. Itās discussed in the comments of the article @Justin_Gordon mentioned, and itās responsible for what appears to be most of the slowness and disparity between what the installer claims and what actually happens.
Apparently (I saw this in another blog post but now canāt find it) the Yosemite installer does a complicated copy/verification operation with any files in /usr
that it doesnāt expect to see, which is what causes the upgrade times for developers to be so awful. If you can, move the files somewhere else (like ~/.usr-local
and then move them back when youāre done). You could also alternatively uninstall Homebrew and clean everything out and reinstall afterward, but thatās probably overkill.
Iām having a dog of a time. After the upgrade, Iām now getting segmentation faults when running rake or rspec. Dumbest idea ever award goes to me for āUpgrading to a new OS in the middle of a workday.ā
I donāt even know where to start to fix this.
Finally fixed it. I donāt recall everything I did, but it was some combination of uninstalling lots of things, reinstalling lots of things and beating my head against the wall.
I didnāt get any segfaults, but I did have to uninstall Postgres and remove the whole data folder at /usr/local/var/postgres
before reinstalling (for the second time) in order to get things working again.
I donāt store anything important in my local machineās databases, but if anyone has a trick others can use to avoid that it would be helpful.
I upgraded to the GM candidate 3 about a week ago without any real issues. It did take longer than expected because of the above-mentioned files in /usr/local/bin
(about an hour and a half).
I had a whole bunch of issues running Yosemite Public Beta. Found out that I had run sudo on my RVM install somewhere I shouldnāt which changed the system permissions on me. It all depends on the error, but some of the oneās that really helped me were:
OpenSSL not installed:
Fixing RVM permissions:
Good luck with your issues!
My Vim and Tmux was extremely slow when I first upgraded to Yosemite in iTerm2
I canāt get pow to work with Yosemite.
Tried following the uninstall/install instructions, etc.
(EDIT: Discourse is hiding some of the links I posted, not sure exactly why)
@Justin_Gordon, Pow (at the moment) doesnāt work in Yosemite out of the box because some underlying software that Pow uses no longer exists in Yosemite.
I got it to work by setting up pf.conf
āanchorsā: Yosemite Support Ā· Issue #452 Ā· basecamp/pow Ā· GitHub
Hereās a gist that also has the files you need to edit: https://gist.github.com/zhoutong/8adca7038639f0f5fb0e
Found this one-liner on SO for the postgres issue. Use it before the upgrade and no problems or afterwards and restart postgres and it will be fixed.
mkdir -p /usr/local/var/postgres/{pg_tblspc,pg_twophase,pg_stat_tmp}/
touch /usr/local/var/postgres/{pg_tblspc,pg_twophase,pg_stat_tmp}/.keep
Have you tried invoker by codemancers instead of pow? I switched due to the Procfile support and the process management aspects. Works in Yosemite.
Also, another update for updating Ruby on Yosemite Install Rails Mac