Calabash iOS не работает: символ не найден: _rb_str_new_static
Я получаю следующее при попытке запустить любую команду calabash
calabash-ios version
Ignoring gherkin-2.12.2 because its extensions are not built. Try: gem pristine gherkin --version 2.12.2
Ignoring json-1.8.3 because its extensions are not built. Try: gem pristine json --version 1.8.3
Ignoring bigdecimal-1.2.7 because its extensions are not built. Try: gem pristine bigdecimal --version 1.2.7
Ignoring psych-2.0.15 because its extensions are not built. Try: gem pristine psych --version 2.0.15
Ignoring unf_ext-0.0.7.1 because its extensions are not built. Try: gem pristine unf_ext --version 0.0.7.1
dyld: lazy symbol binding failed: Symbol not found: _rb_str_new_static
Referenced from: /Users/yfares/.calabash/gems/json-1.8.3/lib/json/ext/parser.bundle
Expected in: flat namespace
dyld: Symbol not found: _rb_str_new_static
Referenced from: /Users/yfares/.calabash/gems/json-1.8.3/lib/json/ext/parser.bundle
Expected in: flat namespace
Как исправить эту проблему?
1 ответ
Все дело в переходе на системный рубин по умолчанию
Я использовал эту команду
rvm use system