草庐IT

ruby-on-rails - 迪尔德 : Symbol not found: _rb_ary_new_from_values When trying to run foreman start

coder 2025-07-02 原文

尝试运行“foreman start”来执行我的 rails 文件时,我收到以下错误。

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

如果我运行 rails s 那么应用程序可以正常启动,但是我想使用以下 Procfile:

web: bundle exec rackup config.ru -p $PORT
resque: env TERM_CHILD=1 bundle exec rake resque:work

这样我就可以使用resque。非常感谢任何帮助。我已经尝试捆绑安装以查看是否可以解决问题,但似乎没有。我通过 JewelryBox 管理 rvm,并使用 Rails 4.1.1 和 Ruby 2.1.1

最佳答案

解决方案似乎是使用重新安装工头

gem install foreman

关于ruby-on-rails - 迪尔德 : Symbol not found: _rb_ary_new_from_values When trying to run foreman start,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24863364/

有关ruby-on-rails - 迪尔德 : Symbol not found: _rb_ary_new_from_values When trying to run foreman start的更多相关文章

随机推荐