Solidus - 第一次安装,尝试运行spree时出错:安装生成器

时间:2018-05-09 17:30:40

标签: ruby-on-rails e-commerce solidus

我需要你的帮助。

我一直在尝试按照此网站上的说明进行操作:Solidus First-time installation

我在此步骤中遇到错误:bundle exec rails generate spree:install

错误如下:

    /Users/filename/.rvm/gems/ruby-2.5.1/gems/activesupport-5.0.0/lib/active_support/deprecation/proxy_wrappers.rb:124:in `initialize': undefined method `instance' for ActiveSupport::Deprecation:Class
Did you mean?  instance_of? (NoMethodError)
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/activesupport-5.0.0/lib/active_support/deprecation/proxy_wrappers.rb:10:in `new'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/activesupport-5.0.0/lib/active_support/deprecation/proxy_wrappers.rb:10:in `new'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/activesupport-5.0.0/lib/active_support/core_ext/load_error.rb:30:in `<top (required)>'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in `require_with_bootsnap_lfi'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/activesupport-5.0.0/lib/active_support/dependencies.rb:12:in `<top (required)>'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in `require_with_bootsnap_lfi'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache.rb:39:in `setup'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.0/lib/bootsnap.rb:24:in `setup'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.0/lib/bootsnap/setup.rb:33:in `<top (required)>'
    from /Users/filename/ecommerce/config/boot.rb:4:in `require'
    from /Users/filename/ecommerce/config/boot.rb:4:in `<top (required)>'
    from /Users/filename/ecommerce/config/application.rb:1:in `require_relative'
    from /Users/filename/ecommerce/config/application.rb:1:in `<top (required)>'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/spring-2.0.2/lib/spring/application.rb:92:in `require'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/spring-2.0.2/lib/spring/application.rb:92:in `preload'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/spring-2.0.2/lib/spring/application.rb:153:in `serve'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/spring-2.0.2/lib/spring/application.rb:141:in `block in run'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/spring-2.0.2/lib/spring/application.rb:135:in `loop'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/spring-2.0.2/lib/spring/application.rb:135:in `run'
    from /Users/filename/.rvm/gems/ruby-2.5.1/gems/spring-2.0.2/lib/spring/application/boot.rb:19:in `<top (required)>'
    from /Users/filename/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
    from /Users/filename/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
    from -e:1:in `<main>'

有人可以告诉我这里有什么问题吗?我该怎么做才能解决它?

干杯!

0 个答案:

没有答案