简体   繁体   English

无法运行Rails服务器! 找不到gem'rails x86-mingw32'

[英]Couldn't run rails server! gem 'rails x86-mingw32' not found

I'm trying to run rails server and this error comes up! 我正在尝试运行Rails服务器,出现此错误!

Error message on command prompt 在命令提示符下出现错误信息

Gemfile 宝石文件

gem 'Rails', '4.2.6' 宝石'Rails','4.2.6'

gem 'mysql2', '>= 0.3.13', '< 0.5' gem'mysql2','> = 0.3.13','<0.5'

gem 'sdoc', '~> 0.4.0', group: :doc gem'sdoc','〜> 0.4.0',组::doc

gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] gem'tzinfo-data',平台:[:mingw,:mswin,:x64_mingw,:jruby]

Try these: 试试这些:

https://github.com/tzinfo/tzinfo/wiki/Resolving-TZInfo::DataSourceNotFound-Errors https://github.com/tzinfo/tzinfo/wiki/Resolving-TZInfo::DataSourceNotFound-Errors

Could not find gem 'rails x86-mingw32' 找不到gem'rails x86-mingw32'

And try deleting the Gemfile.lock , then bundle install ing again. 然后尝试删除Gemfile.lock ,然后再次bundle install

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法运行Rails服务器,找不到Gem&#39;rail(4.2.5.1)x86-mingw32&#39; - Can't Run Rails Server, Could Not Find Gem 'rails(4.2.5.1) x86-mingw32' 找不到gem&#39;rails x86-mingw32&#39; - Could not find gem 'rails x86-mingw32' 运行 rails 服务器时找不到 gem &#39;rails (= 4.2.5) x86-mingw32&#39; - Could not find gem 'rails (= 4.2.5) x86-mingw32' when running rails server Ruby On Rails:therubyracer x86-mingw32丢失的宝石 - Ruby On Rails: therubyracer x86-mingw32 missing gems 在这台机器上可用的宝石中找不到宝石&#39;tzinfo-data(&gt; = 0)x86-mingw32&#39;。 运行bundle install以安装缺少的gem - could not find gem 'tzinfo-data (>=0) x86-mingw32' in the gems available on this machine. Run bundle install to install missing gems 在 Gemfile 中列出的任何 gem 源中都找不到 gem &#39;tzinfo-data x86-mingw32&#39;。 (Bundler::GemNotFound) - Could not find gem 'tzinfo-data x86-mingw32' in any of the gem sources listed in your Gemfile. (Bundler::GemNotFound) 找不到在轨道上运行服务器ruby的gem&#39;byebug x64-mingw32&#39;吗? - Could not find gem 'byebug x64-mingw32' for run server ruby on rails? Spree安装错误“ spree(&gt; = 0)x86-mingw32取决于thor(= 0.15.4)” - Spree install error “spree (>=0) x86-mingw32 depends on thor (=0.15.4)” 找不到 gem &#39;rails (= 4.2.4) x64-mingw32&#39; - Could not find gem 'rails (= 4.2.4) x64-mingw32' Rails - 由于 spring gem 无法运行 rails 服务器 - Rails - Can't run rails server because of spring gem
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM