我为一个网站安装了Spree商务我需要将我的Ruby版本升级到2.3.0我已经安装了rvm并使2.3.0成为默认的ruby版本。
我已经重新安装了Rails和Bundler但是当我尝试使用这个公式将spree gem添加到我的文件中时:
spree install --auto-accept
然后我收到了这个错误:
/Users/steph/.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- active_support/core_ext/string (LoadError)
from /Users/steph/.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/steph/.rvm/gems/ruby-2.3.0/gems/spree_cmd-3.0.8/lib/spree_cmd/installer.rb:2:in `<top (required)>'
from /Users/steph/.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/steph/.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/steph/.rvm/gems/ruby-2.3.0/gems/spree_cmd-3.0.8/lib/spree_cmd.rb:13:in `<top (required)>'
from /Users/steph/.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/steph/.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/steph/.rvm/gems/ruby-2.3.0/gems/spree_cmd-3.0.8/bin/spree:2:in `<top (required)>'
from /Users/steph/.rvm/gems/ruby-2.3.0/bin/spree:22:in `load'
from /Users/steph/.rvm/gems/ruby-2.3.0/bin/spree:22:in `<main>'
from /Users/steph/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `eval'
from /Users/steph/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `<main>'
我真的不知道该怎么做,我已经尝试过重新安装bundler和rails et spree,但没有什么不同。
我一直在遵循这些说明:https://guides.spreecommerce.com/developer/getting_started_tutorial.html
任何人都可以帮我解决这个错误吗?提前谢谢!