草庐IT

INSTALL_FAILED_VERSION_DOWNGRADE

全部标签

ruby - 如何修复 "Unknown ruby interpreter version (do not know how to handle): RUBY_VERSION."

今天我只想在我的Mac上设置一个jekyll博客,并且已经安装了ruby​​2.3.0,但是当make'$jekyllserve'时,它是错误的。并在终端中显示:错误信息:Unknownrubyinterpreterversion(donotknowhowtohandle):RUBY_VERSION. 最佳答案 看起来像bundleexecjekyllnew将使用以下行创建一个GemfilerubyRUBY_VERSION我相信您会希望将该文件编辑为例如ruby'2.1.1' 关于rub

ruby-on-rails - 运行 autoconf 时 rvm install 1.9.2 失败?

当我运行时rvminstall1.9.2我在尝试运行autoconf时遇到错误。这是堆栈跟踪:kenmare:ruby-1.9.2-p0lee$rvminstall1.9.2-p0/Users/lee/.rvm/rubies/ruby-1.9.2-p0,thismaytakeawhiledependingonyourcpu(s)...ruby-1.9.2-p0-#fetchingruby-1.9.2-p0-#extractedto/Users/lee/.rvm/src/ruby-1.9.2-p0(alreadyextracted)RunningautoconfErrorrunning'

ruby - 请安装 postgresql 适配器 : `gem install activerecord-postgresql-adapter`

这个问题在这里已经有了答案:关闭11年前。PossibleDuplicate:HowtohandleRubyonRailserror:“Pleaseinstallthepostgresqladapter:`geminstallactiverecord-postgresql-adapter'”我正在尝试让Redmine与postgres一起工作。在我的日志中,我不断看到。Pleaseinstallthepostgresqladapter:`geminstallactiverecord-postgresql-adapter`在谷歌搜索之后,每个人都说你需要做geminstallpg。但是当

ruby-on-rails - gem install mysql2 v '0.3.11' 无法在 Yosemite 上运行

在ruby​​版本1.9.3(rvm)上执行mysql2版本0.3.11的捆绑安装或直接gem安装时,我收到以下错误。但是当我安装最新版本0.3.16时它可以工作。我还包含了我的gcc版本以供引用。Gem::Ext::BuildError:ERROR:Failedtobuildgemnativeextension./Users/ginocarlocortez/.rvm/rubies/ruby-1.9.3-p547/bin/rubyextconf.rbcheckingforrb_thread_blocking_region()...yescheckingforrb_wait_for_si

ruby - `bundle install` 由于权限被拒绝而失败

我已经在我的新服务器上安装了bundlergem,当我尝试执行bundleinstall时,它失败并出现此错误:Unfortunately,afatalerrorhasoccurred.PleaseseetheBundlertroubleshootingdocumentationathttp://bit.ly/bundler-issues.Thanks!/usr/lib/ruby/1.9.1/fileutils.rb:247:in`mkdir':Permissiondenied-/var/lib/gems(Errno::EACCES)我的服务器是Debianwheezy(7.1),默认

ruby-on-rails - 安装调试器(1.6.8)时出错,Bundler 无法继续。确保 `gem install debugger -v ' 1.6。 8'`

通过geminstalldebugger-v'1.6.8'安装调试器时似乎有递归效果,它说安装成功,但是当我执行bundleinstall时,消息再次出现或bundle更新|20:15:37|~geminstalldebugger-v'1.6.8'Buildingnativeextensions.Thiscouldtakeawhile...Successfullyinstalleddebugger-1.6.8Parsingdocumentationfordebugger-1.6.8unabletoconvert"\xCF"fromASCII-8BITtoUTF-8forlib/ruby

ruby-on-rails - rbenv : version `2.0.0' is not installed

我正在尝试使用Bundleinstall安装Gemfile内容,但出现错误rbenv:version`2.0.0'isnotinstalled我系统安装的ruby版本是:ruby2.1.2p95(2014-05-08revision45877)[i686-linux]和rbenv2.1.2(setby/home/jay/.rbenv/version)2.1.3Gemfile需要ruby"2.0.0"。谁能告诉我如何在不影响现有版本的情况下安装所需的版本。 最佳答案 您可以在这里找到很多信息:rbenvongithub列出所有可用的安

ruby-on-rails - bundle 安装 : ERROR: Failed to build gem native extension. nio4r gem

我目前正在使用以下项目进行项目:rvm1.26.11ruby2.2.1p85我尝试运行bundleinstall但不断收到以下错误:Gem::Ext::BuildError:ERROR:Failedtobuildgemnativeextension.并且,以下:Anerroroccurredwhileinstallingnio4r(1.0.0),andBundlercannotcontinue.Makesurethat`geminstallnio4r-v'1.0.0'`succeedsbeforebundling.当我尝试运行geminstallnio4r-v'1.0.0'时:Buil

ruby - 错误 : Error installing ffi: ERROR: Failed to build gem native extension

安装了DevKit并重新运行ffi安装…。将其作为输出:C:\DocumentsandSettings\******>geminstallffiTemporarilyenhancingPATHtoincludeDevKit...Buildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorinstallingffi:ERROR:Failedtobuildgemnativeextension.C:/Ruby192/bin/ruby.exeextconf.rbcheckingforffi.h...nocheckingforffi.hin

ruby-on-rails - rails : Your user account isn't allowed to install to the system RubyGems

我正在运行命令bundleinstall在项目文件夹中。在某些项目文件夹中,它会产生错误,而在其他项目文件夹中,它不会产生错误。错误是:Youruseraccountisn'tallowedtoinstalltothesystemRubyGems我知道这可以通过遵循推荐的建议来解决:bundleinstall--pathvendor/bundle我的问题是为什么行为不一致? 最佳答案 在我的例子中,我按照错误消息的建议解决了问题:Youruseraccountisn'tallowedtoinstalltothesystemRubyG