安装 spree commerce 时无法激活机架问题

发布于 2024-08-17 06:24:23 字数 934 浏览 10 评论 0原文

我使用 gem install spree 安装 spree 版本 0.9.4 并运行设置命令 spree mystore 并收到此错误消息。有没有人经历过这种情况,无论是否在狂欢?

D:\Workspaces>spree mystore
C:/Program Files/BitNami RubyStack/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:280:i
n `activate': can't activate rack (>= 1.0.1, runtime) for ["spree-0.9.4"], alrea
dy activated rack-1.0.0 for ["actionpack-2.3.5", "rails-2.3.5", "spree-0.9.4"] (
Gem::LoadError)
        from C:/Program Files/BitNami RubyStack/ruby/lib/ruby/site_ruby/1.8/ruby
gems.rb:296:in `activate'
        from C:/Program Files/BitNami RubyStack/ruby/lib/ruby/site_ruby/1.8/ruby
gems.rb:295:in `each'
        from C:/Program Files/BitNami RubyStack/ruby/lib/ruby/site_ruby/1.8/ruby
gems.rb:295:in `activate'
        from C:/Program Files/BitNami RubyStack/ruby/lib/ruby/site_ruby/1.8/ruby
gems.rb:68:in `gem'
    from C:/Program Files/BitNami RubyStack/ruby/bin/spree:18

谢谢

I install spree version 0.9.4 with gem install spree and run a set up command spree mystore and get this errors messages. Have anybody experienced this whether in spree or not ?

D:\Workspaces>spree mystore
C:/Program Files/BitNami RubyStack/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:280:i
n `activate': can't activate rack (>= 1.0.1, runtime) for ["spree-0.9.4"], alrea
dy activated rack-1.0.0 for ["actionpack-2.3.5", "rails-2.3.5", "spree-0.9.4"] (
Gem::LoadError)
        from C:/Program Files/BitNami RubyStack/ruby/lib/ruby/site_ruby/1.8/ruby
gems.rb:296:in `activate'
        from C:/Program Files/BitNami RubyStack/ruby/lib/ruby/site_ruby/1.8/ruby
gems.rb:295:in `each'
        from C:/Program Files/BitNami RubyStack/ruby/lib/ruby/site_ruby/1.8/ruby
gems.rb:295:in `activate'
        from C:/Program Files/BitNami RubyStack/ruby/lib/ruby/site_ruby/1.8/ruby
gems.rb:68:in `gem'
    from C:/Program Files/BitNami RubyStack/ruby/bin/spree:18

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

左岸枫 2024-08-24 06:24:23

我在各个地方都发现了类似的问题(有不同的 gem),并决定通过安装一个新的 gem 来解决它,然后卸载旧的 gem,

gem uninstall rack -v 1.0.0

然后

gem install rack -v 1.0.1

希望这可以帮助那些有类似问题的人。

ps 看到有人发布关于冻结 Rails 的帖子,但我还没有深入研究。

I found similar problems (with difference gem) all over the places and decided to solve it by install a new gem, and uninstall the old one

gem uninstall rack -v 1.0.0

then

gem install rack -v 1.0.1

hope this helps those who have similar problem.

p.s. see someone posting about freezing rails, but I didn't dig into it yet.

萌酱 2024-08-24 06:24:23

看起来 spree 需要 v1.0.1,而rack 现在是 1.1.0 版本。请安装1.0.1,痛苦就会消失。

It appears spree requires v1.0.1, whereas rack is now at version 1.1.0. Please install 1.0.1, the pain will go away.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文