草庐IT

INSTALL_FAILED_ALREADY_EXISTS

全部标签

ruby-on-rails - 从设计 "User does not respond to ' 设计方法中获取错误“运行 "rails generate devise:install"时

当运行“railsgeneratedevise:install”时,我从设计中收到错误“用户不响应‘设计’方法”。想法重新如何解决?事实上,当我尝试运行“railsgeneratedevise:install”时,我也注意到了这个错误。注意事项:Gregs-MacBook-Pro:testappgreg$railsgeneratedevise:install/Library/Ruby/Gems/1.8/gems/devise-2.0.1/lib/devise/rails/routes.rb:406:in`raise_no_devise_method_error!':Userdoesno

ruby - 尝试在 OSX BUILD FAILED 上使用 rbenv 安装 ruby​​ 2.1.2

所以,正如标题所示,我正在尝试安装ruby​​2.1.2,尽管我也尝试安装其他版本,但我遇到了同样的错误。我正在运行OSX10.9.2。我试过:安装新的gcc编译器,通过brewinstallgcc47安装更新的OSX命令行工具卸载rbenv并重试重启机器这是我得到的总和:rbenvinstall2.1.2Downloadingruby-2.1.2.tar.gz...->http://dqw8nmjcqpjn7.cloudfront.net/f22a6447811a81f3c808d1c2a5ce3b5f5f0955c68c9a749182feb425589e6635Installin

ruby-on-rails - Capistrano bundler :install fails

我正在尝试使用Capistrano3.0将我的Rails应用程序部署到EC2实例中。我现在在运行“capproductiondeploy”或“capproductionbundler:install”时出现以下输出。DEBUG[5b379979]Running/usr/bin/enviftest!-d/var/www/app/current;thenecho"Directorydoesnotexist'/var/www/app/current'"1>&2;false;fionec2-75-101-200-185.compute-1.amazonaws.comDEBUG[5b379979

ruby - 使用 rbenv BUILD FAILED 安装 ruby​​-2.0.0-p0

所以我尝试通过rbenv在运行在VirtualBox上的新ubuntu12.04LTS上安装ruby​​。我从https://github.com/sstephenson/rbenv得到了rbenv和ruby​​-build来自https://github.com/sstephenson/ruby-build.然后我运行以下但构建失败:(rbenvinstall2.0.0-p0Downloadingruby-2.0.0-p0.tar.gz...->http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p0.tar.gzInstallingru

ruby - Capistrano 错误:<Rake::Task load:defaults => []>:Rake::Task 的未定义方法 `already_invoked'

我花了太多时间调试它,但我不知道发生了什么。“capproductiondeploy”今天早上运行良好,现在它只是抛出一个错误。令人惊讶的是,谷歌到目前为止并没有太大帮助。据我所知,代码库没有任何变化:➜sesac-mm-matchinggit:(deploy)capproductiondeploy--trace**Invokeproduction(first_time)**Executeproductioncapaborted!NoMethodError:undefinedmethod`already_invoked'for[]>:Rake::Task/Users/***/.rvm/

Ruby Guard 问题 - 'Please install the sqlite3 adapter' - railstutorial.org

我正在关注RubyonRailsTutorial并且在测试部分变得有些困惑,特别是-3.6.2-AutomatedtestswithGuard按照部署到Heroku的教程说明,我已切换到Postgresql并从我的gemfile中删除了sqlite3,并进行了捆绑安装以进行更新。但是,一旦我运行bundleexecguard我收到消息:/Users/username/.rvm/gems/ruby-1.9.3-p125@global/gems/bundler-1.1.3/lib/bundler/rubygems_integration.rb:147:inblockinreplace_ge

ruby - gem install rmagick 在 OS X El Capitan 上失败

几天前我升级到ElCapitan并运行了一个brewupdate&&brewupgrade它更新了imagemagick,导致ruby​​的rmagickgem停止工作。我想没问题,我就跑geminstallrmagick它会重新编译。除了没有,当我运行它时我看到了这个:geminstallrmagickBuildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorinstallingrmagick:ERROR:Failedtobuildgemnativeextension./Users/sam/.rbenv/versions/2.

ruby-on-rails - gem install nokogiri -v '1.5.11' 由于 make :/usr/local/bin/gmkdir: No such file or directory 而失败

Rubyversion:2.2.5MacOSX:10.11.5Gemversion:2.4.8Bundlerversion:1.12.5当我运行geminstallnokogiri-v'1.5.11'时,出现以下错误:Buildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorinstallingnokogiri:ERROR:Failedtobuildgemnativeextension./Users/hwpeng/.rvm/rubies/ruby-2.2.5/bin/ruby-r./siteconf20160707-31800-

ruby-on-rails - gem install json 失败,重新定义了 struct timezone/timespec

我在Windows上使用带有DevKit的Ruby1.9.3(在Win764位上都是32位)。现在我尝试安装rails,但从bundle中得到一个错误。如果我尝试运行(包在提示什么)geminstalljson我收到以下错误消息:D:\RubyTest>geminstalljsonTemporarilyenhancingPATHtoincludeDevKit...Buildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorinstallingjson:ERROR:Failedtobuildgemnativeextension.D:

ruby - 使用 ruby​​-install/ruby-build 在 Archlinux 上安装 Ruby 2.1.x 和 2.3.x 时出现 OpenSSL 错误

我在Archlinux上使用ruby​​-install构建旧版本的Ruby时遇到了一些问题。我怀疑ruby​​-build也会发生同样的情况。我在尝试安装Ruby2.1.5、2.1.6、2.3.0、2.3.1、2.3.4后看到以下内容。/usr/include/openssl/asn1_mac.h:10:2:error:#error"Thisfileisobsolete;pleaseupdateyoursoftware."#error"Thisfileisobsolete;pleaseupdateyoursoftware."或ossl_ssl.c:465:38:error:‘CRYP