问题
I tried using require 'bigdecimal'
, but I got an error saying that it can't load the file.
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bigdecimal (LoadError)
from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
What's going on here?
回答1:
ruby-bigdecimal is a separate package in Cygwin. You'll need to install that.
来源:https://stackoverflow.com/questions/51682003/ruby-wont-let-me-import-the-bigdecimal-library