- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我做了几处更改,并尝试推送到 heroku,但它崩溃了,并给了我调试器 gem 的错误,我在堆栈溢出中搜索了它。
我做了 bundle update 来修复它(正如人们所说),并从 gemfile 中删除了调试器。但是现在,它又会报错,不会推送或编译 Assets 。
错误是:
NoMethodError: undefined method `environment' for nil:NilClass
这太奇怪了,因为它正在重新安装 Heroku 中的每个 gem,并且像第一次一样编译 Assets 。请帮忙,我无法推送新功能!非常感谢
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using 1.6.3
Ruby version change detected. Clearing bundler cache.
Old: ruby 2.0.0p481 (2014-05-08 revision 45883) [x86_64-linux]
New: ruby 2.0.0p576 (2014-09-19 revision 47628) [x86_64-linux]
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Fetching source index from https://rubygems.org/
Fetching git://github.com/gregbell/active_admin.git
Installing minitest 4.7.5
Installing i18n 0.6.11
Installing rake 10.3.2
Installing thread_safe 0.3.4
Installing multi_json 1.10.1
Installing builder 3.1.4
Installing erubis 2.7.0
Installing tzinfo 0.3.41
Installing mime-types 1.25.1
Installing rack 1.5.2
Installing polyglot 0.3.5
Installing coffee-script-source 1.8.0
Installing thor 0.19.1
Installing execjs 2.2.1
Installing sass 3.4.4
Using bundler 1.6.3
Installing activerecord-deprecated_finders 1.0.3
Installing hike 1.2.3
Installing arel 4.0.2
Installing tilt 1.4.1
Installing acts_as_votable 0.8.0
Installing coderay 1.1.0
Installing daemons 1.1.9
Installing orm_adapter 0.5.0
Installing json 1.8.1
Installing bcrypt 3.1.7
Installing multipart-post 2.0.0
Installing formatador 0.2.5
Installing excon 0.39.5
Installing inflecto 0.0.2
Installing ipaddress 0.8.0
Installing mini_portile 0.6.0
Installing net-ssh 2.9.1
Installing hashie 3.3.1
Installing jwt 1.0.0
Installing method_source 0.8.2
Installing subexec 0.2.3
Installing multi_xml 0.5.5
Installing nifty-generators 0.4.6
Installing httpclient 2.4.0
Installing slop 3.6.0
Installing rails_serve_static_assets 0.0.2
Installing rails_stdout_logging 0.0.3
Installing eventmachine 1.0.3
Installing rolify 3.4.1
Installing will_paginate 3.0.7
Installing faker 1.3.0
Installing fog-json 1.0.0
Installing sitemap_generator 5.0.5
Installing activesupport 4.0.0
Installing rack-test 0.6.2
Installing pg 0.17.1
Installing warden 1.2.3
Installing coffee-script 2.3.0
Installing treetop 1.4.15
Installing bourbon 4.0.2
Installing sprockets 2.12.2
Installing haml 4.0.5
Installing zurb-foundation 4.3.2
Installing rdoc 4.1.2
Installing uglifier 2.5.3
Installing faraday 0.9.0
Installing mandrill-api 1.0.52
Installing net-scp 1.2.1
Installing omniauth 1.2.2
Installing mini_magick 3.8.1
Installing pry 0.10.1
Installing rails_12factor 0.0.2
Installing thin 1.6.2
Installing arbre 1.0.2
Installing activemodel 4.0.0
Installing jbuilder 1.5.3
Installing actionpack 4.0.0
Installing rmagick 2.13.3
Installing mail 2.5.4
Installing faraday_middleware 0.9.1
Installing sdoc 0.4.1
Installing oauth2 1.0.0
Installing activerecord 4.0.0
Installing fog-core 1.24.0
Installing carrierwave 0.10.0
Installing railties 4.0.0
Installing formtastic 2.3.1
Installing has_scope 0.6.0.rc
Installing kaminari 0.16.1
Installing sprockets-rails 2.0.1
Installing meta-tags 2.0.0
Installing mandrill_mailer 0.4.8
Installing actionmailer 4.0.0
Installing simple_form 3.0.2
Installing omniauth-oauth2 1.2.0
Installing polyamorous 1.1.0
Installing instagram 1.1.3
Installing friendly_id 5.0.4
Installing fog-brightbox 0.5.1
Installing coffee-rails 4.0.1
Installing fog-softlayer 0.3.17
Installing nokogiri 1.6.3.1
Installing responders 1.0.0
Installing jquery-ui-rails 5.0.0
Installing jquery-rails 3.1.2
Installing devise 3.3.0
Installing jquery-fileupload-rails 0.4.1
Installing mail_form 1.5.0
Installing sass-rails 4.0.1
Installing omniauth-facebook 2.0.0
Installing ransack 1.3.0
Installing rails 4.0.0
Installing impressionist 1.5.1
Installing best_in_place 0.2.3
Installing inherited_resources 1.4.1
Installing rails3-jquery-autocomplete 1.0.14
Using activeadmin 1.0.0.pre from git://github.com/gregbell/active_admin.git (at master)
Installing fog 1.23.0
Your bundle is complete!
Gems in the groups development and test were not installed.
It was installed into ./vendor/bundle
Post-install message from sitemap_generator:
NOTE: SitemapGenerator 4.x uses a new file naming scheme which is more standards-compliant.
If you're upgrading from 3.x, please see the release note in the README:
https://github.com/kjvarga/sitemap_generator#important-changes-in-version-4
The simple answer is that your index file is now called sitemap.xml.gz
and not sitemap_index.xml.gz, but please take a look and see what else has changed.
Post-install message from haml:
HEADS UP! Haml 4.0 has many improvements, but also has changes that may break
your application:
* Support for Ruby 1.8.6 dropped
* Support for Rails 2 dropped
* Sass filter now always outputs <style> tags
* Data attributes are now hyphenated, not underscored
* html2haml utility moved to the html2haml gem
* Textile and Maruku filters moved to the haml-contrib gem
For more info see:
http://rubydoc.info/github/haml/haml/file/CHANGELOG.md
Post-install message from rdoc:
Depending on your version of ruby, you may need to install ruby rdoc/ri data:
<= 1.8.6 : unsupported
= 1.8.7 : gem install rdoc-data; rdoc-data --install
= 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
Post-install message from rmagick:
Please report any bugs. See https://github.com/gemhome/rmagick/compare/RMagick_2-13-2...master and https://github.com/rmagick/rmagick/issues/18
Post-install message from instagram:
********************************************************************************
Instagram REST and Search APIs
------------------------------
Our developer site documents all the Instagram REST and Search APIs.
(http://instagram.com/developer)
Blog
----------------------------
********************************************************************************
Bundle completed (159.26s)
Cleaning up the bundler cache.
-----> Writing config/database.yml to read from DATABASE_URL
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
I, [2014-09-19T18:37:26.899517 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/FontAwesome-00cd9d29c16ec7755492c39df16ce1aa.otf
I, [2014-09-19T18:37:26.902231 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/decofont-452bc8caf426f1a11ab150183b3f8c7d.eot
I, [2014-09-19T18:37:26.971341 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/default-user-b1cdb481024e4a933abf2ea35c8a851f.jpg
I, [2014-09-19T18:37:26.973473 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/default-user-3beca87e6c4c2f1634205b63dd1751bc.png
I, [2014-09-19T18:37:26.975646 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/default-user2-3beca87e6c4c2f1634205b63dd1751bc.png
I, [2014-09-19T18:37:26.977951 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/divider-66feeff2926f8a3809241cc2715bb7ff.png
I, [2014-09-19T18:37:26.980266 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/divider_line-c574f55865acb9fd30d99d889a8d7810.png
I, [2014-09-19T18:37:26.982394 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/favicon-a72059f9bc87311fbe16a3feb1b3011a.ico
I, [2014-09-19T18:37:27.096123 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/input-checked-fad93ad02fae91846487120f3f753fe9.png
I, [2014-09-19T18:37:27.098802 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/input-unchecked-16a647a0b7e7ee068d80db470a4fe4a6.png
I, [2014-09-19T18:37:27.101028 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/landing/icon_1-a5802dd0f18b9aa07de783bba92fa6ad.png
I, [2014-09-19T18:37:27.103200 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/landing/icon_2-9942940855b7f3a6a25a803a20cdfa11.png
I, [2014-09-19T18:37:27.105372 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/landing/icon_3-758cfe433057344146ed25487f740b0e.png
I, [2014-09-19T18:37:27.107582 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/landing/icon_4-b25b74ffcaf2f5bf6a56ca3613ccf851.png
I, [2014-09-19T18:37:27.109474 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/landing/icon_pro-9c97b48cc702eb38dcfa3f792a4e92a1.png
I, [2014-09-19T18:37:27.111501 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/logo -906a3a689726de87ae1b25bef1770cf5.png
I, [2014-09-19T18:37:27.113516 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/logo-9ec2463dd9f201719cec993d96a20334.png
I, [2014-09-19T18:37:27.115924 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/logo@2x-ca7b605d7d2f819b2180110531c79a99.png
I, [2014-09-19T18:37:27.118614 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/logogrande-2dad34d8965fa9580bf732da629b3d79.png
I, [2014-09-19T18:37:27.121177 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/logogrey-17446392f18181466fec15ae77c541ce.png
I, [2014-09-19T18:37:27.123471 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/passbg-198396ac2bb01641ef1e2d0d5b8290e7.png
I, [2014-09-19T18:37:27.125871 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/search-c128d565ca441f7f56f1c0a68d80c71a.png
I, [2014-09-19T18:37:27.128238 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/searchbg-c128d565ca441f7f56f1c0a68d80c71a.png
I, [2014-09-19T18:37:27.130708 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/seed/1-2f4399488cc4461f37290f1a13ce2e26.jpg
I, [2014-09-19T18:37:27.133169 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/seed/2-11c83688373956e1f3be2799e553bfdb.jpg
I, [2014-09-19T18:37:27.135748 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/seed/3-47e462f8d6704b84257cde15ff6120a9.jpg
I, [2014-09-19T18:37:27.138471 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/seed/4-efc0abe95bc6656f89b367f5df4d6222.jpg
I, [2014-09-19T18:37:27.141336 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/seed/5-d941023eda8d263bc67c430fa7bfd7f2.jpg
I, [2014-09-19T18:37:27.144422 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/slider1-dd1e84fd4c642c09bdeea7995e6afe9f.jpg
I, [2014-09-19T18:37:27.147167 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/sp-c6070afd2f38ae891441f959b1b7a1ff.png
I, [2014-09-19T18:37:27.149543 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/spots_header-0b187e7ae03e3cd01587bd08d73c2a55.png
I, [2014-09-19T18:37:27.151929 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/tagarrow-8b84e20c18b23d6cfd12f78277de90c9.png
I, [2014-09-19T18:37:27.154300 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/tagcursor-92631a09d2f0a033c5d74a5b24e6506a.png
I, [2014-09-19T18:37:27.156500 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/userbg-3b8a7645bebf562e9562c8b6e9b578a2.png
I, [2014-09-19T18:37:37.474618 #3047] INFO -- : Writing /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/public/assets/application-88a409f2962d296c3ea2f0ae2c57efe9.js
rake aborted!
NoMethodError: undefined method `environment' for nil:NilClass
(in /tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/app/assets/stylesheets/foundation_and_overrides.scss)
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-rails-4.0.1/lib/sass/rails/importer.rb:84:in `evaluate'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-rails-4.0.1/lib/sass/rails/importer.rb:70:in `engine_from_path'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-rails-4.0.1/lib/sass/rails/importer.rb:35:in `find'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/import_node.rb:54:in `block in import'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/import_node.rb:53:in `each'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/import_node.rb:53:in `import'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/import_node.rb:28:in `imported_file'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/import_node.rb:37:in `css_import?'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/visitors/perform.rb:301:in `visit_import'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/visitors/base.rb:36:in `visit'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/stack.rb:79:in `block in with_base'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/stack.rb:115:in `with_frame'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/stack.rb:79:in `with_base'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/visitors/perform.rb:158:in `visit'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/visitors/base.rb:52:in `block in visit_children'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/visitors/base.rb:52:in `map'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/visitors/base.rb:52:in `visit_children'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/visitors/perform.rb:167:in `block in visit_children'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/visitors/perform.rb:179:in `with_environment'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/visitors/perform.rb:166:in `visit_children'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/visitors/base.rb:36:in `block in visit'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/visitors/perform.rb:186:in `visit_root'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/visitors/base.rb:36:in `visit'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/visitors/perform.rb:157:in `visit'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/visitors/perform.rb:8:in `visit'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/root_node.rb:36:in `css_tree'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/tree/root_node.rb:20:in `render'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sass-3.4.4/lib/sass/engine.rb:268:in `render'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/sass_template.rb:53:in `evaluate'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/tilt-1.4.1/lib/tilt/template.rb:103:in `render'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/context.rb:197:in `block in evaluate'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/context.rb:194:in `each'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/context.rb:194:in `evaluate'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/processed_asset.rb:12:in `initialize'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/base.rb:374:in `new'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/base.rb:374:in `block in build_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/base.rb:395:in `circular_call_protection'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/base.rb:373:in `build_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/index.rb:94:in `block in build_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/caching.rb:58:in `cache_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/index.rb:93:in `build_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/base.rb:287:in `find_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/index.rb:61:in `find_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/processed_asset.rb:111:in `block in resolve_dependencies'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/processed_asset.rb:105:in `each'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/processed_asset.rb:105:in `resolve_dependencies'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/processed_asset.rb:97:in `build_required_assets'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/processed_asset.rb:16:in `initialize'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/base.rb:374:in `new'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/base.rb:374:in `block in build_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/base.rb:395:in `circular_call_protection'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/base.rb:373:in `build_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/index.rb:94:in `block in build_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/caching.rb:58:in `cache_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/index.rb:93:in `build_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/base.rb:287:in `find_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/index.rb:61:in `find_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/bundled_asset.rb:16:in `initialize'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/base.rb:377:in `new'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/base.rb:377:in `build_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/index.rb:94:in `block in build_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/caching.rb:58:in `cache_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/index.rb:93:in `build_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/base.rb:287:in `find_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/index.rb:61:in `find_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/manifest.rb:211:in `block in find_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/manifest.rb:257:in `benchmark'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/manifest.rb:210:in `find_asset'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/manifest.rb:119:in `block in compile'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/manifest.rb:118:in `each'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/sprockets/manifest.rb:118:in `compile'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-rails-2.0.1/lib/sprockets/rails/task.rb:60:in `block (3 levels) in define'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-2.12.2/lib/rake/sprocketstask.rb:146:in `with_logger'
/tmp/build_0c151ed0-2c3a-484c-bfdf-a8944781130b/vendor/bundle/ruby/2.0.0/gems/sprockets-rails-2.0.1/lib/sprockets/rails/task.rb:59:in `block (2 levels) in define'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
!
! Precompiling assets failed.
!
! Push rejected, failed to compile Ruby app
最佳答案
我遇到了同样的问题并解决了它:
根据您的日志,您的 RVM gemset 是 2.0.0p481。 Heroku 已经升级到 2.0.0p576。
您需要升级到最新的 Ruby 包。如果您使用的是 RVM:
rvm install ruby-2.0.0-p576
bundle update
然后提交并部署到 heroku。
关于ruby-on-rails - merge 分支和包更新后不推送到 heroku,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25940739/
我正在尝试使用 Heroku Scheduler 在已部署的 Heroku 应用程序中调用 HTTP 端点,它基本上以固定速率在 Heroku bash 上运行命令。 当我运行 $ heroku ru
我有一个在 Heroku 上运行的应用程序,其中有一些我想不时更改的设置,并且我想使用 Heroku 配置变量来存储这些设置,以便它们持久存在。 我知道我可以从 Heroku 仪表板或 Heroku
我从模板 reagent-frontend 创建了一个 ClojureScript Reagent 应用程序。如何将生产应用程序部署到 Heroku?在为生产构建后(lein package/lein
我正在尝试在 heroku 上添加信用卡,然后消息显示“无法验证您的卡,请稍后再试或联系您的金融机构寻求帮助” 最佳答案 这是因为您的银行拒绝付款。 检查您是否输入了所有正确的详细信息 查看您银行的最
首先为我的英语感到抱歉,因为它不是我的母语,我不习惯它,它可能很难理解。 我正在尝试将我的 spike 应用程序连接到 heroku 以获取长期葡萄糖数据。 我在没有“部署分支”步骤的情况下成功完成了
Ec2 实例小时按小时计算。如果你只是启动和关闭一个实例,它仍然算作一小时。 Heroku 如何处理这个?按分钟还是按小时? 让我们假设我的应用程序使用超过 750 免费 Dyno 小时限制 最佳答案
好奇 heroku 如何创建应用程序名称。应用程序名称通常是英文单词,例如bloom-peaks 或formal-trail。一家大公司的 IT 部门也是如此。是否有用于名称生成的 unix 库? 最
有没有人在 Heroku 上成功使用过 docsplit?它有许多二进制依赖项。我已经搜索过,但没有找到任何人这样做。教程会很棒,但我真的很好奇其他人是否成功。 最佳答案 我的搜索没有找到任何做过这件
我想将一个应用程序部署到需要能够生成加密安全随机数的 heroku。我可以使用哪些熵源? 最佳答案 你的 Heroku dyno 基本上是一个 Ubuntu 服务器虚拟机,所以你应该可以访问 /dev
Heroku 可以显示自定义维护页面: heroku config:set MAINTENANCE_PAGE_URL=http://some_server/my_page.html 这需要某些网站的存
我正在开始使用 Heroku,并担心它是否会因我犯的错误而向我收费。例如,填充数据库超过 5MB。 那么,有没有办法为 Heroku 或通知系统设置计费限制,以便在我超过价格限制时发送通知? 先感谢您
如何更新我的 Heroku ,我的 Windows 终端显示以下内容: » Warning: heroku update available from 7.47.7 to 7.52.0. 请帮忙
我在免费的 Dyno 上运行基于 NodeJS 的应用程序,连接到 mongohq-MongoDB。我想迁移它以使用爱好 Dyno,这样做的动机不仅是避免 sleep 时间,而且是为了实现更高的 HT
关闭。这个问题是off-topic .它目前不接受答案。 想改善这个问题吗? Update the question所以它是 on-topic对于堆栈溢出。 9年前关闭。 Improve this q
如何将我的生产数据库拉到 heroku 上的暂存服务器? 我有两个 Remote ,production 和 staging。 来自documentation看来我想运行 heroku pg:copy
我有一个域example.com,我想将它用于位于example.herokuapp.com 的rails-app,我很困惑如何去做。 Heroku says "Zone apex domains (
我有一个 sinatra 应用程序,其中有一个 yml 文件来设置环境变量,我使用此方法调用它们 module MyConfig def config environment = ENV["RA
根据各种因素,一整天中,我的应用程序的负载可能会出现非常极端的增加。 那时,我想自动增加测功机的数量。 我想增加加载时间。因此,如果加载页面需要X倍的时间,请增加测功力。否则,请往下走。 这样的东西存
我想知道使用heroku工具栏在heroku帐户之间进行切换的最佳方法是什么。 我曾经有一个个人的heroku帐户,它是我所有职业性的heroku应用程序的协作者。问题是当我想进行一些对财务有影响的更
是否可以停止部署到当前正在构建的 Heroku ( git push heroku )? 类似 heroku run stopit! 顺便提一句。成功部署后回滚不是我想要的。 最佳答案 首先,安装He
我是一名优秀的程序员,十分优秀!