草庐IT

adt-bundle-mac-x

全部标签

ruby - 在 Mac 10.7 上运行 'requirements_osx_brew_libs_install...' 时出错

尝试在上一代MacbookPro上安装brew并不断收到以下错误:Errorrunning'requirements_osx_brew_libs_installautoconfautomakelibtoolpkg-configapple-gcc42libyamlreadlinelibxml2libxsltlibksbaopensslsqlite',pleaseread/Users/allegrascrugham/.rvm/log/ruby-1.9.3-p392/1368142352_package_install_autoconf_automake_libtool_pkg-config

ruby - bundle 不适用于 rbenv

我正在尝试将bundler与rbenv一起使用。我一直工作到今天。我唯一可能破坏它的是gempristine--all或gemcleanup?尝试安装bundler时出现以下错误。Antarrs-MacBook-Pro:some-appantarrbyrd$sudogeminstallbundlerPassword:Bundlergavetheerror"Couldnotfindmail-2.5.4inanyofthesources"whileprocessing"/Users/antarrbyrd/dev/some-app/Gemfile".Perhapsyouforgottorun

ruby - 在 Mac OS X 10.8.2 上安装 Ruby

我已经提到了InstallingRubyonRails-MacOSLion并关注AlainBeauvois'sreply几乎一切都准备好了。唯一的区别是我使用的是1.9.3而不是1.9.2。我已经创建了.bash_profile,甚至通过open-e.bash_profile确保它存在,甚至添加了AlainBeauvois所说的行。但现在的问题似乎是我收到了这个错误:Errorrunning'make',pleaseread/usr/local/rvm/log/ruby-1.9.3-p374/make.logTherehasbeenanerrorwhilerunningmake.Hal

ruby-on-rails - ruby - bundle 安装/更新太慢

我刚刚在virtualbox中运行的虚拟ubuntu12.0432位上安装了RVM、Ruby、Rails等。现在我遇到的问题是,对于我的第一个Rails项目,bundleinstall或bundleupdate需要很长时间。即使我使用Rails创建一个新项目(包括bundleinstall)。我只使用标准的gem:source'https://rubygems.org'gem'rails','3.2.12'#BundleedgeRailsinstead:#gem'rails',:git=>'git://github.com/rails/rails.git'group:developme

ruby - bundler 能告诉我 Gemfile 中的哪些 gems 有更新的版本吗(例如 bundle update 的试运行)

有没有办法运行bundleupdate在假装模式下,类似于Rails生成器的-p(假装)标志或cap的-n(试运行)标志?我在想像这样的事情:$>bundleupdate-pFetchingsourceindexforhttp://rubygems.org/Thefollowinggemshaveupdatedversions:...listofgems... 最佳答案 Bundler1.1引入了一个新的“过时”功能,这正是我一直在寻找的。PatShaughnessy很棒write-up关于新功能。用他的话说,bundleoutda

ruby-on-rails - Elastic Beanstalk Ruby/Rails 需要安装 git 所以 bundle install 可以工作..但不是

我在部署我们的Rails应用程序时遇到问题。我创建了一个类似于AWS博客howto上示例的Hookhttp://ruby.awsblog.com/post/Tx2AK2MFX0QHRIO/Deploying-Ruby-Applications-to-AWS-Elastic-Beanstalk-with-Git喜欢:packages:yum:git:[]甚至我运行一个bundle来创建vendor/cache以将所有gems都放在那里......并且仍然得到:git://github.com/refinery/refinerycms-search.git(在2-0-stable)未che

ruby-on-rails - 为什么 Mac OS X 带有 ruby​​/rails?

为什么MacOSX预装了ruby​​和ruby​​onrails?操作系统真的使用它吗?我可以安全地更新我的Ruby、Rails或Gem版本,而不会出现任何问题吗? 最佳答案 正如其他人所指出的,OSX预装了各种开源包。虽然这可能是一个很好的便利,但这些包通常只作为主要OSX版本(如10.5到10.6)的一部分更新到新版本。此外,一些软件包在其他地方被OSX的其他部分使用,并且没有简单的方法可以知道是哪个。一般来说,Apple假设(你也应该)/System/Library和/usr/下的所有内容,除了/usr/local/之外,都是

ruby - 命令 "ruby"在我的 Mac 上什么都不做

我无法让Ruby解释器在我的两台Mac上运行(一台MacBook和一台MacBookPro,都运行SnowLeopard)。当我运行它时,通过在终端中键入ruby,没有任何反应。它只是坐在那里。我可以通过按Ctrl+C来终止它,但仅此而已。我知道Ruby进程正在运行,因为我可以在事件监视器中看到它,并且运行ruby--version工作正常。我尝试了以下方法,但都无济于事:我有一些bash定制,所以我尝试禁用它们,但这没有帮助。我使用MacPorts安装了Ruby1.8.7的新副本,但那个有同样的问题。我尝试退出并重新启动终端应用程序。一些其他可能有用的信息:我正在尝试运行SnowLe

ruby - 强制 bundle 安装使用 https ://instead of git://for GitHub-based gems

我正在尝试构建一个Rails项目,因为我正在使用的主机无法访问Internet的git://协议(protocol)(端口9418),我收到如下错误Fetchinggit://github.com/pivotal/jasmine.gitfatal:unabletoconnecttogithub.com:github.com[0:192.30.252.130]:errno=Connectionrefused运行bundleinstall时。GemFile中的相关行没有指定git://作为协议(protocol),它只是指向GitHub作为gem的源gem'jasmine',:github

ruby-on-rails - 当您的 Gemfile 需要旧版本的 bundler 时如何将其设置为 `bundle install`?

我在一个有Gemfile的旧Rails项目中。我试图将gem添加到Gemfile和bundleinstall但出现错误:Bundlercouldnotfindcompatibleversionsforgem"bundler":InGemfile:rails(=3.0.0)rubydependsonbundler(~>1.0.0)rubyCurrentBundlerversion:bundler(1.1.5)ThisGemfilerequiresadifferentversionofBundler.它使用的Rails版本需要bundler~>1.0.0但我已经安装了1.1.5并且正在将它