安装 spree commerce 时无法激活机架问题
我使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我在各个地方都发现了类似的问题(有不同的 gem),并决定通过安装一个新的 gem 来解决它,然后卸载旧的 gem,
然后
希望这可以帮助那些有类似问题的人。
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
then
hope this helps those who have similar problem.
p.s. see someone posting about freezing rails, but I didn't dig into it yet.
看起来 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.