ruby-on-rails – 带有RailsInstaller的Ruby,无法在Windows上构
发布时间:2020-12-17 02:15:16 所属栏目:百科 来源:网络整理
导读:在使用RailsInstaller在 Windows上安装 Ruby Rails之后,我无法安装任何需要构建本机扩展的gem.错误: C:UsersAdmingem install rdiscountBuilding native extensions. This could take a while...ERROR: Error installing rdiscount: ERROR: Failed to bui
在使用RailsInstaller在
Windows上安装
Ruby Rails之后,我无法安装任何需要构建本机扩展的gem.错误:
C:UsersAdmin>gem install rdiscount Building native extensions. This could take a while... ERROR: Error installing rdiscount: ERROR: Failed to build gem native extension. C:/Rails/Ruby1.9.2/bin/ruby.exe extconf.rb Gem files will remain installed in C:/Rails/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/r discount-1.6.8 for inspection. Results logged to C:/Rails/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.8/ex t/gem_make.out gem_make.out的内容: C:/Rails/Ruby1.9.2/bin/ruby.exe extconf.rb 我已经通过了this troubleshooting page,但它没有解决这个错误. 路径: C:RailsDevKitbin;C:RailsDevKitmingwbin;C:RailsGitcmd;C:RailsRuby1.9.2bin;C:Program FilesAMD APPbinx86;C:Program FilesNVIDIA CorporationPhysXCommon;%SystemRoot%system32;%SystemRoot%;%SystemRoot%System32Wbem;%SYSTEMROOT%System32WindowsPowerShellv1.0;C:Program Filesnodejs 我希望有人可以帮我解决这个问题. 解决方法
除非你有一个非常有说服力的理由在Windows上本地运行,否则我会安装
VirtualBox并运行Ubuntu或你最喜欢的Linux for Rails开发.事情最终将会顺利进行.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |