草庐IT

install-configuration

全部标签

ruby-on-rails - gem install therubyracer -v 0.11.4 在 OS X 10.10 上失败

按照此处的步骤操作"geminstalltherubyracer-v'0.10.2'"onosxmavericksnotinstalling,我能够让therubyracer-v0.10.2和0.12.0安装正常,但不能安装0.11.4。geminstalltherubyracer-v0.11.4返回:Buildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorinstallingtherubyracer:ERROR:Failedtobuildgemnativeextension./Users/thooper/.rbenv/ver

ruby-on-rails - rails : Bundler could not find compatible versions for gem "actionpack" on installing ActiveAdmin

我在我的gemfile中添加了gem'activeadmin',github:'activeadmin'并进行了捆绑安装。然后它向我抛出以下错误。Bundlercouldnotfindcompatibleversionsforgem"actionpack":Insnapshot(Gemfile.lock):actionpack(=5.0.0.1)InGemfile:activeadmin(~>1.0.0.pre4)wasresolvedto1.0.0.pre4,whichdependsonformtastic(~>3.1)wasresolvedto3.1.4,whichdependso

ruby-on-rails - gem install rails 不安装rails

当我尝试安装rails时:root@li44-48:/#geminstallrailsSuccessfullyinstalledrails-3.2.11geminstalledInstallingridocumentationforrails-3.2.1...InstallingRDocdocumentationforrails-3.2.1...但是当我这样做的时候:root@li44-48:/#rails-bash:rails:commandnotfound我检查了gemenv并显示:RubyGemsEnvironment:-RUBYGEMSVERSION:1.8.15-RUBYVE

ruby-on-rails - "bundle install"从 Rails 控制台系统命令发出时未创建 Gemfile.lock

我有一个奇怪的用例,我需要从一个Rails应用程序发出“bundleinstall”(作为system()命令)另一个没有Gemfile.lock的新制作的Rails应用程序.我知道这通常是从命令行完成的,但我需要在Rails中完成。作为引用,使用irb可以轻松实现这一点。它根据预期的Gemfile获取gem并生成一个Gemfile.lock。出于某种原因,当我在Rails控制台(从另一个应用程序)中发出相同系列的命令时,bundle命令实际上并没有获取或更新gems,也没有生成Gemfile.lock。正如tadman所指出的,我认为这是由于irb和railsconsole之间的环境

ruby-on-rails - 无法使用 capistrano 部署 rails4 项目。 rbenv : version `2.0.0' is not installed

我在将我的rails4应用程序部署到VPS时遇到错误。我得到的错误是rbenv:version`2.0.0'isnotinstalled但是使用“ruby-v”我得到了ruby2.0.0p0(2013-02-24revision39474)[i686-linux]在我的gemfile中有source'https://rubygems.org'ruby'2.0.0'gem'rails','4.0.0'这个错误出现在bundleinstallrecipe之后2013-08-0423:23:56executing`bundle:install'*executing"cd/home/yasin

ruby - undefined symbol : SSLv2_method when running bundle install

我在运行bundle程序安装我的gems时收到此错误。我环顾四周,除了在r​​vm上安装opensslpkg并重新安装所有rubies之外没有找到解决方案,这样做并没有解决问题,还有其他可能的解决方案吗?这是我运行bundleinstall的输出:Fetchinggemmetadatafromhttps://rubygems.org/.Unfortunately,afatalerrorhasoccurred.PleaseseetheBundlertroubleshootingdocumentationathttp://bit.ly/bundler-issues.Thanks!/home

已解决pip install wxPython模块安装失败

已解决(pipinstallwxPython安装失败)error:legacy-instal1-failureEncounterederrorwhiletryingtoinstallpackage.wxPythonnote:Thisisanissuewiththepackagementionedabove,notpip.hint:Seeaboveforoutputfromthefailure.ERROR:FailedbuildingwheelforwxPythonRunningsetup.pycleanforwxPythonailedtobuildwxPythonnstallingcollec

ruby-on-rails - 找不到命令/使用自动测试安装带有 'bundle install' 的缺少的 gem 二进制文件

我对RoR完全陌生。我正在关注MichaelHartl的书。我无法进行自动测试。请提出问题所在以及解决方法。当我在Rails项目目录中的命令行中运行“autotest”时,我得到以下信息:-bash:autotest:commandnotfound当我运行“bundleexecautotest”时,我得到以下信息:bundler:commandnotfound:autotestInstallmissinggembinarieswith`bundleinstall'这是Gemfilesource'http://rubygems.org'gem'rails','3.0.3'gem'sqli

android - Qt Creator Android 错误 "Platform SDK installed"

我正在为Android开发Qt跨平台应用程序,最近我更新了Qt创建器并安装了新的Qt版本。我正在使用'QtCreator版本4.5.0'。我已经更新到'QTversion5.10'。此设置在Ubuntu16.04上完成。关注链接GettingStartedwithQTInstallation.我总是在QtCreator->Tools->Options->Devices->Android中收到错误消息“Android设置有错误”。由于上述问题,我无法为Android构建应用程序。我最近更新了我的Androidsdk,我能够从AndroidStudio构建和运行示例应用程序,这表明SDK安

android - Qt Creator Android 错误 "Platform SDK installed"

我正在为Android开发Qt跨平台应用程序,最近我更新了Qt创建器并安装了新的Qt版本。我正在使用'QtCreator版本4.5.0'。我已经更新到'QTversion5.10'。此设置在Ubuntu16.04上完成。关注链接GettingStartedwithQTInstallation.我总是在QtCreator->Tools->Options->Devices->Android中收到错误消息“Android设置有错误”。由于上述问题,我无法为Android构建应用程序。我最近更新了我的Androidsdk,我能够从AndroidStudio构建和运行示例应用程序,这表明SDK安