草庐IT

adt-bundle-windows-x

全部标签

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 MYSQL2 gem 在 Windows 7 上的安装

我正在尝试在Windows7上安装mysql2gem我从mysql站点下载连接器并将libmysql.dll放在ruby​​200\bin中然后做geminstallmysql2这些是我在这里昏暗的结果吗?TemporarilyenhancingPATHtoincludeDevKit...Buildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorinstallingmysql2:ERROR:Failedtobuildgemnativeextension.C:/Ruby200/bin/ruby.exeextconf.rbcheck

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 - Windows 上的 Jekyll : Pygments not working

在我一直使用RC之前,我已经更新到最新的JekyllBuild(1.0.3)。更新代码解析后(使用Pygments)不再起作用。我总是收到以下错误:C:/Ruby193/lib/ruby/gems/1.9.1/gems/posix-spawn-0.3.6/lib/posix/spawn.rb:162:warning:cannotclosefdbeforespawn←[31mLiquidException:Nosuchfileordirectory-/bin/shin2012-01-17-test-post.md←[0m有没有人也遇到过这个问题?我对ruby一无所知,所以我不能自己调试:

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 - 错误 : SASS installation for windows

我在安装ruby​​后尝试安装sass,但出现以下错误,请帮我解决这个问题maradhak@WW730VW7X1688/c/softwares$gem-v2.2.2maradhak@WW730VW7X1688/c/softwares$geminstallsassERROR:Couldnotfindavalidgem'sass'(>=0),hereiswhy:Unabletodownloaddatafromhttps://rubygems.org/-SSL_connectreturned=1errno=0state=SSLv3readservercertificateB:certific

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并且正在将它

ruby - 无法在 Windows 上安装 Aptana Studio 3.6

我想在Windows下使用AptanaStudio进行Rails开发。我目前有不同的开发工具和ide启动并运行(如git/ruby/jdk),我也想安装AptanaStudio,但我不能。下载并运行安装程序后,它会正常启动,在我选择目标目录后,它会开始下载先决条件。我有几个问题:一段时间后,它尝试安装node.js(好吧,我不确定为什么,但随它去吧),有时它安装正常,但有时它只是没有错误地失败,只告诉我aptana不能'安装先决条件。如果偶然安装了node.js,它会尝试安装msysgit(同样,我不知道为什么,因为我已经安装了git并将其添加到PATH)。安装msysgit完成后,我