草庐IT

c++ - 在 archlinux 上安装 boost devel

全部标签

ruby-on-rails - 即使安装了 libv8,Gem therubyracer 也不会安装

我已经使用以下命令在Windows上安装了libv8gem:geminstalllibv8----with-system-v8然后当我尝试安装therubyracer时,它给了我很长的错误消息:Installingtherubyracer0.12.2withnativeextensionsGem::Ext::BuildError:ERROR:Failedtobuildgemnativeextension.currentdirectory:D:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/therubyracer-0.12.2/ext/v8D:/Ruby21-

ruby-on-rails - 安装 nio4r 时出错

请帮帮我。我尝试安装gemnio4r,但此日志有错误:ERROR:Errorinstallingnio4r:ERROR:Failedtobuildgemnativeextension.currentdirectory:/var/lib/gems/2.3.0/gems/nio4r-1.2.1/ext/nio4r/usr/bin/ruby2.3-r./siteconf20161020-13985-1c6zxok.rbextconf.rbmkmf.rbcan'tfindheaderfilesforrubyat/usr/lib/ruby/include/ruby.hextconffailed,

ruby-on-rails - 由于 Bundler::GemspecError: 无法读取 gem 导致 bundle 安装失败

我在安装bundle时遇到这些错误:✗bundleinstallFetchinggemmetadatafromhttps://rubygems.org/.........Resolvingdependencies...Bundler::GemspecError:Couldnotreadgemat/Users/liuxin/.rvm/gems/ruby-1.9.3-p547/cache/i18n-0.6.11.gem.Itmaybecorrupted.Anerroroccurredwhileinstallingi18n(0.6.11),andBundlercannotcontinue.M

ruby-on-rails - 尝试安装 Rails (OSX) 时出现权限错误

我是编程新手,正在尝试在我的终端上安装Rails。我一直按照friend的指示安装xcode命令行工具、自制软件、git、rbenv、ruby-build、rubygems、ruby和postgres。但是每当我尝试$geminstallrails时,我都会得到以下信息:Russell-Silvers-MacBook-Pro:~Russell_Silver$geminstallrailsERROR:Whileexecutinggem...(Errno::EACCES)Permissiondenied@rb_sysopen-/Users/Russell_Silver/.rbenv/ver

ruby - 我在使用多用户 RVM 安装安装 ruby 时遇到问题

我遵循了RVM网站上关于如何进行多用户安装的说明。当我尝试安装ruby​​版本时,我得到以下信息:$/usr/local/rvm$rvminstall1.9.2InstallingRubyfromsourceto:/usr/local/rvm/rubies/ruby-1.9.2-p290,thismaytakeawhiledependingonyourcpu(s)...ruby-1.9.2-p290-#fetchingruby-1.9.2-p290-#downloadingruby-1.9.2-p290,thismaytakeawhiledependingonyourconnectio

ruby-on-rails - 安装json(1.8.1)时出错,Bundler无法继续-Rails

安装json(1.8.1)时出错,Bundler无法继续。确保geminstalljson-v'1.8.1'在捆绑之前成功。xcrun:错误:无效的事件开发人员路径(/Library/Developer/CommandLineTools),缺少xcrun:/Library/Developer/CommandLineTools/usr/bin/xcrunmake失败,退出代码1我知道这已经发布了,但我尝试了捆绑更新、捆绑安装并将gem文件放入我的gem文件和捆绑安装,但其他答案都没有任何效果。想法? 最佳答案 运行“捆绑更新”对我有用

ruby-on-rails - 在 Yosemite 上安装 Ruby 1.9.2 时出错

在Yosemite上使用rvm安装ruby​​1.9.2时出现错误。有人可以帮我吗?我更新了自制软件和rvm。我在这个项目上与其他人合作,所以我无法升级ruby​​。我在下面放了一个指向我的输出的链接。提前致谢!Kanyons-MacBook-Pro:~USERNAME$rvminstall1.9.2-headruby-1.9.2-head-#removingsrc/ruby-1.9.2-head..Checkingrequirementsforosx.Certificatesin'/usr/local/etc/openssl/cert.pem'arealreadyuptodate.R

ruby - 在 Windows 8 : Unable to execute file C:\Program Files(x86)\Heroku\ruby-1. 9.3\bin\gem.bat 上安装 heroku toolbelt 时出错

我想安装herokutoolbelt。我选择完全安装。安装时出现此错误。安装完成后herokulogin不起作用。 最佳答案 试试这个:Followthislink无论它是否与在Windows7上运行游戏有关,请在您的Windows8上尝试这个。如果它有效,请告诉我们。 关于ruby-在Windows8:UnabletoexecutefileC:\ProgramFiles(x86)\Heroku\ruby-1.9.3\bin\gem.bat上安装herokutoolbelt时出错,我们在

ruby-on-rails - bundle 安装错误,意外 ':'

我知道网上有很多问题或类似问题,但它不适合我的情况。我正在安装redmine,当我调用bundleinstall时,出现此错误:[!]Therewasanerrorparsing`Gemfile`:compileerror-syntaxerror,unexpected':',expecting$endgem'tzinfo-data',platforms:[:mingw,:x64_mingw,:mswin,:jruby]^.Bundlercannotcontinue.错误在这一行(以->为前缀的那一行):source'https://rubygems.org'ifGem::Version

ruby - 无法通过 rvm bundle install 安装 ffi 1.9.0 - OSX 10.8.4

在带有自制软件、xcode(带有命令行工具)和libffi的MacbookPro上使用OSX10.8.4。我已经安装了rvm和ruby​​-1.9.3-p448,并且有一个名为omega.ecoop的gemset。有一个gemfile列出了该项目所需的gem。但是,在运行bundlecheck后,我无法安装它们:Bundlercan'tsatisfyyourGemfile'sdependencies.这是正确的,因为它们没有安装。所以我使用:bundleinstall产生以下内容:Sams-MacBook-Pro:ecoopSam$bundleinstallFetchinggemmet