我正在尝试将我的项目从迁移mri
到rubinius
以获得并发优势。
我已经启动了服务器并打开了第一页,然后出现了错误:
Puma caught this error: undefined method `=~' for Pathname (NameError)
kernel/common/module.rb:212:in `instance_method'
kernel/common/module.rb:354:in `undef_method'
kernel/bootstrap/array.rb:66:in `each'
kernel/common/module.rb:352:in `undef_method'
...
我的宝石文件
source 'https://rubygems.org'
ruby '2.1.0', :engine => "rbx", engine_version: '2.2.1'
gem "rubysl" # Ruby Standard Library meta-gem for rubinius
# Server requirements
gem 'puma'
...
这里可能有什么问题?
更新:完整的堆栈跟踪