草庐IT

rvm-installer

全部标签

ruby-on-rails - Lion 吃了我的 RVM,现在我无法安装 Ruby

我最近升级到Lion,一切都很好。甚至重新启动机器几次。然后在周末,Rails消失了!我所有的gem都不见了。我发誓我不知道发生了什么。它工作得很好。仔细一看,RVM本身就不见了。因此,我重新安装了RVM并尝试安装Ruby1.9.2,但我得到了这个错误日志:[2011-08-0814:30:41]./configure--prefix="/Users/cbmeeks/.rvm/usr"checkingforaBSD-compatibleinstall.../usr/bin/install-ccheckingwhetherbuildenvironmentissane...yescheck

ruby-on-rails - Vagrant/VirtualBox VM 配置 : rbenv installs successfully but subsequent uses in script fail

我正在使用Vagrant+VirtualBox为我的Rails应用设置虚拟机。我正在清理Vagrantfile中引用的.sh配置脚本,如下所示:config.vm.provision"shell",path:"script/provision-script.sh"配置脚本做了很多事情,但最后它应该安装rbenvRuby版本控制,然后使用rbenv安装Ruby2.2.1。供应脚本的那部分看起来像这样:echo"settinguprbenv"#executetheremainingcommandsasvagrantuser,insteadofrootsudo-H-uvagrantbash-

ruby - 如何在低内存系统上使用 RVM 编译 ruby​​?

rvminstall1.9.3导致make.log中的错误:...compiling./enc/trans/emoji_sjis_docomo.ccompiling./enc/trans/emoji_sjis_kddi.cgcc:internalcompilererror:Killed(programcc1)gcc:internalcompilererror:Killed(programcc1)gcc:internalcompilererror:Killed(programcc1)Pleasesubmitafullbugreport,withpreprocessedsourceifap

ruby - "__rvm_do_with_env_before"和 "__rvm_after_cd"执行 "cd"时

我最近卸载了RVM(我认为主要是)。当我在终端中“cd”时,我得到:Adams-MacBook-Pro%cd__rvm_do_with_env_before:source:5:nosuchfileordirectory:/Users/adam/.rvm/scripts/initialize__rvm_after_cd:source:5:nosuchfileordirectory:/Users/adam/.rvm/scripts/hook我该如何解决这个问题?我猜是因为我没有完全卸载RVM。rvmimplode之后我还剩下哪些步骤要做谢谢 最佳答案

ruby - Lion OSX : How to install libfreetype. 6.dylib?

我正在尝试安装ruby​​gem,但安装过程已停止,因为:ld:filenotfound:/usr/local/lib/libfreetype.6.dylibforarchitecturex86_64clang:error:linkercommandfailedwithexitcode1(use-vtoseeinvocation)如何安装这个库?我检查了/usr/local/lib/并且那里缺少库。编辑:我运行locatelibfreetype.6.dylib并得到:/Applications/MAMP/Library/lib/libfreetype.6.dylib/Applicati

ruby-on-rails - Phusion Passenger 在使用 rvm 升级 Ruby 和 Rails 后抛出错误

我最近将我的Rails设置升级到3.1.3,我在PhusionPassenger在此服务器上加载旧应用程序时遇到问题。我在测试应用程序上运行了所有东西,但我仍然对这个应用程序有问题。当我在端口3000上运行Webrick服务器时,我的应用程序运行完美,但是当我试图通过虚拟主机访问它时,我继续收到Passenger错误。这是信息:乘客抛出错误Ruby(Rack)应用程序无法启动错误信息:无法在任何来源中找到activesupport-3.0.7(Bundler::GemNotFound)异常类:PhusionPassenger::UnknownError应用根目录:/home/admin

ruby - 使 RVM 忽略 ruby​​ 补丁级别

目前,我基于rvm的项目在.rvmrc中指定了rvm1.8.7@gemset。这意味着当我安装新项目的gemset时,它将默认为最新的补丁级别1.8.7,例如。ruby-1.8.7-p352。现在我不想在rvmrc中对“1.8.7-p352”进行硬编码,因为其他开发人员(或其他项目)可能在他们的机器上安装了一些其他补丁级别(来自其他项目)而且我也不想在我的机器上安装不同级别的ruby​​补丁。有没有办法让rvm忽略补丁级别,只使用任何已安装的1.8.7版本-这样我就可以在所有项目中使用Ruby1.8.7的一个补丁级别。 最佳答案 您

ruby - 如何在没有 root 访问权限的情况下安装 rvm?

我想在一台没有ruby​​gems的机器上安装travisgem,而且我没有root权限。(我想加密一些东西以供travis使用。)我决定尝试安装rvm,因为https://rvm.io/rvm/install建议这是一种无需root即可安装ruby​​的简单方法。然而,我马上就遇到了问题:jgross@cagnode17:~$\curl-Lhttps://get.rvm.io|bash-sstable--ruby%Total%Received%XferdAverageSpeedTimeTimeTimeCurrentDloadUploadTotalSpentLeftSpeed10013

ruby - 运行 make install 时出现 RVM 错误。安装 power_assert gem 时出错

我正在尝试在我的arch机器上安装ruby​​2.2.2。当我运行rvminstall时,出现以下错误。试了几次。甚至删除了rvm并重新安装。还是一样的问题。○rvminstall2.2.2Searchingforbinaryrubies,thismighttakesometime.Nobinaryrubiesavailablefor:arch/libc-2.21/x86_64/ruby-2.2.2.Continuingwithcompilation.Pleaseread'rvmhelpmount'togetmoreinformationonbinaryrubies.Checkingr

ruby - jruby -S bundle install jruby : No such file or directory -- bundle (LoadError)

我有我的ruby​​onrails应用程序,我已经在我的WindowsXP中安装了jruby-1.7.4。当我尝试运行jruby-Sbundleinstall时,它给我一个错误jruby:Nosuchfileordirectory--bundle(LoadError)我真的很纠结这个错误..请帮助.. 最佳答案 Bundler可能没有安装。您可以检查jruby-Sgemlist的输出来验证,然后安装它:jruby-Sgeminstallbundler一般来说,LoadError意味着您缺少gem依赖项。