草庐IT

install-configuration

全部标签

ruby-on-rails - 确保 'gem install ~ ' 绑定(bind)成功

我今天开始学习RubyonRails。我已经安装了Ruby、DEVELOPMENTKIT、SQLite3、bundler和rails。接下来,我的教科书说在控制台中运行railsnewtodo。然后,出现以下消息:Gem::RemoteFetcher::FetchError:SSL_connectreturned=1errno=0state=SSLv3readservercertificateB:certificateverifyfailed(https://rubygems.org/gems/coffee-rails-4.0.1.gem)Anerroroccurredwhileins

ruby-on-rails - 尝试运行 gem install 时出错

我正在尝试在我的开发服务器上启动并运行Rails。这是一个fedora14盒子。我安装了rvm、ruby1.8.7和ruby​​gems1.6.2。当我尝试通过gem安装rails时,geminstallrails,出现以下错误:ERROR:Loadingcommand:install(LoadError)nosuchfiletoload--zlibERROR:Whileexecutinggem...(NameError)uninitializedconstantGem::Commands::InstallCommand关于正在发生的事情的任何想法。我是ruby​​/rubygems/

ruby-on-rails - rails - 找不到生成器 rspec :install.

我不知道它找不到生成器。geminstallrspecFetching:rspec-core-2.8.0.gem(100%)Fetching:rspec-expectations-2.8.0.gem(100%)Fetching:rspec-mocks-2.8.0.gem(100%)Fetching:rspec-2.8.0.gem(100%)Successfullyinstalledrspec-core-2.8.0Successfullyinstalledrspec-expectations-2.8.0Successfullyinstalledrspec-mocks-2.8.0Succe

ruby - 在 Rails 3 中创建新应用时运行 bundle install

我是RubyOnRails的新手。我在ubuntu11.04上安装了rails3.1.2。每次我跑railsnew最后它确实runbundleinstall.这需要相当长的时间才能完成。每次创建应用程序时都需要运行bundleinstall吗?如果不需要,有什么方法可以阻止它在每次创建新的Rails应用程序时运行,以便RailsNew快速完成? 最佳答案 尝试使用railsnew--skip-bundle. 关于ruby-在Rails3中创建新应用时运行bundleinstall,我们在

ruby-on-rails - 无效的 gem : package is corrupt -- while installing rails in osx yosemite 10. 10.1

我在osxyosemite10.10.1中安装rails时遇到此错误mezbah$geminstallrails--no-ri--no-rdocERROR:Errorinstallingrails:invalidgem:packageiscorrupt,exceptionwhileverifying:undefinedmethod`size'fornil:NilClass(NoMethodError)in/Users/mezbah/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/cache/nokogiri-1.6.6.2.gemmezbah$gem

ruby - `bundle install` 失败(因为 git 协议(protocol))

有了这个简单的Gemfile,source'https://rubygems.org'gem'activerecord',"~>2.2.3"gem'activerecord-sqlserver-adapter',github:'arthrex/activerecord-sqlserver-adapter',:branch=>'2-3-stable'bundleinstall失败并显示Fetchinggit://github.com/arthrex/activerecord-sqlserver-adapter.gitfatal:unabletoconnecttogithub.com:gi

ruby - 狮子 : Problem with RVM installing rubies - problem related to openssl

我很绝望,现在已经两天(!!)天都没有解决方案来解决以下问题。更新Lion后,我想使用最新版本的rvm安装额外的rubies。这是我之后调用bundler时发生的情况:/Users/felix/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in`require':dlopen(/Users/janroesner/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/x86_64-darwin11.1.0/digest/sha1.bund

ruby-on-rails - gem install debugger -v '1.5.0' 失败

我正在尝试在Mavericks上的大型项目中执行bundle,尽管这是rbenv的全新安装,但一些gems已损坏或我的环境出现问题。$geminstalldebugger-v'1.5.0'Buildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorinstallingdebugger:ERROR:Failedtobuildgemnativeextension./Users/samat/.rbenv/versions/1.9.3-p448/bin/rubyextconf.rbcheckingforrb_method_entry_t.

ruby-on-rails - gem install typhoeus - 未能构建 gem 扩展

我在尝试安装名为typhoeus的gem时收到错误消息(这在“ServiceOrientedDesignwithRails”一书之后使用)——我尝试了很多方法来修复此问题,但我碰壁了,我在这里发帖,希望有人能提供帮助。这是输出:$geminstalltyphoeusBuildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorinstallingtyphoeus:ERROR:Failedtobuildgemnativeextension./Users/my.name/.rvm/rubies/ruby-1.8.7-p302/bin/r

ruby - 错误 : "fatal: I don' t handle protocol `` git` when using bundle install

我的GemFile中有以下行:gem'rails',:git=>'git://github.com/rails/rails.git'我收到以下错误:Fetchinggit://github.com/rails/rails.gitfatal:Idon'thandleprotocol''git'Giterror:command`gitclone'git://github.com/rails/rails.git'...但是当我运行geminstall'rails'时它工作正常。基本上在运行克隆命令时,bundle程序会在引发错误的git://地址周围添加单引号。我在Windows上工作。我为