我的宝石文件:
gem "toml-rb", "~> 0.3.8"
*.rb 文件:
require "toml-rb"
它在本地工作,在远程服务器上 - 错误:
/home/user_123/.rubies/ruby-2.4.2/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- toml-rb (LoadError)
虽然我已经运行“捆绑”并且
$ bundle info toml-rb
* toml-rb (0.3.15)
Summary: TOML parser in ruby, for ruby.
Homepage: http://github.com/emancu/toml-rb
Path: /home/user_123/.gem/ruby/2.4.2/gems/toml-rb-0.3.15
怎么了?