Anyonw知道aws-sdk gem发生了什么事情。我注意到今天在我的一个应用程序中出现了这个问题,而且现在影响的不止一个。我得到相同的错误在所有的应用程序中,但到宝石的链接似乎是有效的。
论Heroku
Gem::RemoteFetcher::FetchError: bad response Not Found 404 (https://s3.amazonaws.com/production.s3.rubygems.org/gems/aws-sdk-1.19.0.gem)
An error occurred while installing aws-sdk (1.19.0),
我正在尝试将我的应用程序安装到heroku上。但我对宝石有意见。这是一个私有的gem,我们没有一个私有的gem服务器设置,所以我在本地克隆了gem作为应用程序中的一个子模块。
当我推送到heroku时,我得到了这个错误:
! Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.
Detected buildpacks: Ruby,Node.js
我需要在我的gemfile中指定ruby版本,但我在heroku中的应用程序使用的是旧的bundler版本1.0.7。
如果我在我的gemfile中包含gem 'bundler', '1.3.2',当我推送到heroku时,它会失败。
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
bundler (= 1.3.2)
Current Bundler version:
bundler (1.0.7)
Your versio
我正在学习RoR并尝试将我的测试应用程序部署到heroku,收到下一个错误:
Unresolved dependencies detected; Installing...
Using --without developmen
You have modified your Gemfile in development but did not check
the resulting snapshot (Gemfile.lock) into version control
You have added to the Gemfile:
* therubyracer (
我需要安装mysql2 gem,但它在链接“错误:无法构建gem本地扩展”时中断。它确实错误地使用了-lmysqlclient_r,而它应该使用-lmysqlclient。
所以我要做的是:
$ cd /usr/local/rvm/gems/ruby-1.9.3-p194/gems/mysql2-0.3.11/ext/mysql2
$ vi Makefile # change -lmysqlclient_r to -lmysqlclient
$ make
linking shared-object mysql2/mysql2.so
$ cd ../../
现在我应该怎么做才能从现在继续安装?
我使用Ruby2.6.5 (rbenv)和Rails 5.2开发了一个Rails应用程序
我创建了安装脚本来提供EC2实例并将应用程序部署到实例中。
它与t3a.micro实例一致工作,但如果我使用配置为使用t3a.nano (在t3.nano上也失败)实例的相同部署脚本,则会持续失败。错误是:
/home/ubuntu/.rbenv/versions/2.6.5/lib/ruby/2.6.0/bundler/spec_set.rb:91:in `block in materialize': Could not find nokogiri-1.10.9 in any of the so
我正在使用一个rails应用程序,但我似乎无法将我的应用程序推送到Heroku。我已经设置好了所有东西并使用了git,但每次我把它推给heroku时,我都会得到这样的结果:
Unresolved dependencies detected; Installing...
Using --without development:test
You have modified your Gemfile in development but did not check
the resulting snapshot (Gemfile.lock) into version contr
我试着用我一直以来的方式向Heroku推送一个应用程序。我使用的是Ruby 1.9.2和Rails 3.2.1。但是,现在我收到了这个错误消息。我按它的建议做了
make sure that `gem install sqlite3 -v '1.3.5'` succeeds before bundling.
请注意,即使我在我的gemfile中执行了此操作,它仍会这样做
group :development, :test do
gem 'sqlite3'
end
group :production do
gem 'pg'
end
但是在终
最近,我在rails项目中添加了“taglib-ruby”gem,并试图将该项目推送给Heroku。但是,即使当我捆绑安装时,推送仍然会被拒绝,但有以下错误:
You must have taglib installed in order to use taglib-ruby.
remote:
remote: Debian/Ubuntu: sudo apt-get install libtag1-dev
remote: Fedora/RHEL: sudo yum install taglib-devel
remote: Brew: br
我想安装rails应用程序的引导程序,但是失败了。
gem 'bootstrap-sass', '~> 3.3.5' #add it to Gemfile
然后是bundle install
Bundler::GemspecError: Could not read gem at /Users/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/cache/autoprefixer-rails-5.2.1.2.gem. It may be corrupted.
An error occurred while installi
我在尝试将我的应用程序推送到heroku时遇到这个错误:Warning: the running version of Bundler (1.17.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by runninggem install bundler.我有以下版本的bundler: gem list | grep bundler
bundler (2.0.2, default: 1.17.3, 1
我自下而上地安装了所有东西,在运行bundle install之前,我一直认为它工作得很好
有没有人见过这个?有什么想法吗?请帮帮忙。谢谢。
bundle install
Fetching source index for http://rubygems.org/
/usr/local/lib/ruby/1.9.1/rubygems/format.rb:38:in `from_file_by_path': Cannot load gem at [/usr/local/lib/ruby/gems/1.9.1/cache/rake-0.8.7.gem] in /home/ec2-user/