lee
lee

Reputation: 8105

rails server cannot run

I'm new at Ruby on rails. when I run rails server on terminal, I got the 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 had researched and tried some solutions with the same problem of other people. But didn't found the way to fix it.

Upvotes: 4

Views: 603

Answers (1)

Alexander Kireyev
Alexander Kireyev

Reputation: 10825

Type bundle install in console, before running server. Or maybe you haven't installed bundle gem, so you need gem install bundle.

Though, it should install gems by the guide. Perhaps problem with rvm.

Upvotes: 2

Related Questions