无法加载此类文件——rack/media_type (LoadError)
我遇到了一个正在努力解决的问题。我运行项目 (rails s
) 然后收到错误消息
/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.2.5/lib/active_support/dependency.rb:274:in `require': 无法加载此类文件-- 机架/媒体类型(加载错误)
我使用:
- ruby 2.2.1rails
- 4.2.5bundler
- 1.17.3
bundle info rack
* rack (1.6.13)
我没有找到任何我的项目中的 media_type
gem 包 以前有人经历过吗?我在 Stackoverflow 上搜索了很多帖子,但没有结果。
I’m having an issue that I’m struggling to fix. I run the project (rails s
) then I get the error message
/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/activesupport-4.2.5/lib/active_support/dependencies.rb:274:in `require': cannot load such file -- rack/media_type (LoadError)
I using:
- ruby 2.2.1
- rails 4.2.5
- bundler 1.17.3
bundle info rack
* rack (1.6.13)
I didn't find any media_type
gem package in my project
Has anyone experienced this before? I have searched many posts on Stackoverflow but no results.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论