I just upgraded to OS X Yosemite and am running into all sorts of issues running my Rails app. I'm constantly seeing the following error:
ruby(11958,0x7fff7e430300) malloc: *** error for object 0x7f880b801808: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
Any ideas how to fix this?
Edit
I tried following the suggestions on this page:
How to get Ruby / Homebrew / RVM to work on Yosemite?
But when I edit brew.rb to change the path to "Current," I get the error:
Homebrew requires Leopard or higher. For Tiger support, see:
https://github.com/mistydemeo/tigerbrew
Solution
I completely removed rvm and reinstalled from scratch. In order to remove rvm, I first had to run
rvm fix-permissions
then
rvm implode
I then followed the directions on this page:
https://gorails.com/setup/osx/10.10-yosemite
rbenv is pretty good too. I've been using it since my first ruby/rails days without an error.
https://github.com/sstephenson/rbenv
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With