2014-05-20 223 views
4

我是Ruby on Rails的新手。当我在终端运行轨服务器,我得到了错误:导轨服务器无法运行

dyld: lazy symbol binding failed: Symbol not found: _rb_ary_new_from_values 
    Referenced from: /Users/apple/.rvm/gems/[email protected]/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/[email protected]/gems/psych-2.0.5/lib/psych.bundle 
    Expected in: flat namespace 

Trace/BPT trap: 5 

我研究过,并试图与其他人同样的问题的一些解决方案。但没有找到解决的办法。

+0

你是否试图运行hello world? – merlin2011

+0

我按照教程:http://guides.rubyonrails.org/getting_started.html – lee

+0

所以,你没有应用程序运行服务器?因为我没有看到任何代码。 – zishe

回答

2

在控制台中输入bundle install,然后运行服务器。或者,也许你还没有安装bundle宝石,所以你需要gem install bundle

虽然,它应该由导游安装宝石。也许rvm的问题。

+1

**捆绑安装**帮助我。谢谢。 – lee