8

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

Community
  • 1
  • 1
scientiffic
  • 9,045
  • 18
  • 76
  • 149

1 Answers1

2

rbenv is pretty good too. I've been using it since my first ruby/rails days without an error.

https://github.com/sstephenson/rbenv

Radolino
  • 1,834
  • 4
  • 26
  • 48