OSX Mountain Lion을 사용하고 db : push를 시도하고 있습니다.heroku db : push rubs wrong ruby
$ ruby -v
ruby 1.9.2p320 (2012-04-20 revision 35421) [x86_64-darwin12.0.0]
$ bundle exec heroku db:push --confirm ancient-falls-9918
Loaded Taps v0.3.24
Auto-detected local database: mysql2://[email protected]/lottery_portal_development?encoding=utf8
Warning: Data in the app 'ancient-falls-9918' will be overwritten and will not be recoverable.
/Users/psmy/.rvm/gems/[email protected]/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle: [BUG] Segmentation fault
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
Abort trap: 6
왜 1.8.7을 사용하려고합니까?
$ rvm list
rvm rubies
ree-1.8.7-2011.03 [ i686 ]
=* ruby-1.9.2-p320 [ x86_64 ]
ruby-1.9.3-p194 [ x86_64 ]
프로젝트 및 글로벌 수준에서 heroku 및 taps를 제거하고 다시 설치했습니다. 루비의 내장 버전의 흔적을 제거했습니다 (제 생각 엔).
당신은 이것에 대한 해답을 발견 했는가? – Tony
@ 토니 예, 내 대답을 참조하십시오 : http://stackoverflow.com/a/28634088/380607 – Magne