Rails server cannot work

I am new to Ruby on rails. when i start rails server server on terminal i got error:

dyld: lazy symbol binding failed: Symbol not found: _rb_ary_new_from_values
  Referenced from: /Users/apple/.rvm/gems/ruby-2.1.1@global/gems/psych-2.0.5/lib/psych.bundle
  Expected in: flat namespace

dyld: Symbol not found: _rb_ary_new_from_values
  Referenced from: /Users/apple/.rvm/gems/ruby-2.1.1@global/gems/psych-2.0.5/lib/psych.bundle
  Expected in: flat namespace

Trace/BPT trap: 5

I researched and tried some solutions with the same problem of other people. But I did not find a way to fix it.

+4
source share
1 answer

Type bundle installin the console before starting the server. Or maybe you did not install the gem bundle, so you need to gem install bundle.

Although, he should set the gemstones guidance. There may be a problem with rvm.

+2
source

Source: https://habr.com/ru/post/1541203/


All Articles