- xml - AJAX/Jquery XML 解析
- 具有多重继承的 XML 模式
- .net - 枚举序列化 Json 与 XML
- XML 简单类型、简单内容、复杂类型、复杂内容
Counting objects: 1012, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (983/983), done.
Writing objects: 100% (1012/1012), 10.52 MiB | 3.30 MiB/s, done.
Total 1012 (delta 168), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.0.0
remote: -----> Installing dependencies using bundler 1.9.7
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote: Fetching gem metadata from https://rubygems.org/...........
remote: Fetching version metadata from https://rubygems.org/...
remote: Fetching dependency metadata from https://rubygems.org/..
remote: Rubygems 2.0.14 is not threadsafe, so your gems must be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.
remote: Installing rake 10.4.2
remote: Installing i18n 0.7.0
remote: Installing json 1.8.3
remote: Installing minitest 5.8.0
remote: Installing thread_safe 0.3.5
remote: Installing tzinfo 1.2.2
remote: Installing activesupport 4.2.4
remote: Installing builder 3.2.2
remote: Installing erubis 2.7.0
remote: Installing mini_portile 0.6.2
remote: Installing nokogiri 1.6.6.2
remote: Installing rails-deprecated_sanitizer 1.0.3
remote: Installing rails-dom-testing 1.0.7
remote: Installing loofah 2.0.3
remote: Installing rails-html-sanitizer 1.0.2
remote: Installing actionview 4.2.4
remote: Installing rack 1.6.4
remote: Installing rack-test 0.6.3
remote: Installing actionpack 4.2.4
remote: Installing globalid 0.3.6
remote: Installing activejob 4.2.4
remote: Installing mime-types 2.6.2
remote: Installing mail 2.6.3
remote: Installing actionmailer 4.2.4
remote: Installing activemodel 4.2.4
remote: Installing arel 6.0.3
remote: Installing activerecord 4.2.4
remote: Installing coffee-script-source 1.9.1.1
remote: Installing execjs 2.6.0
remote: Installing coffee-script 2.4.1
remote: Installing thor 0.19.1
remote: Installing railties 4.2.4
remote: Installing coffee-rails 4.1.0
remote: Installing sass 3.4.18
remote: Installing foundation-rails 5.5.2.1
remote: Installing multi_json 1.11.2
remote: Installing jbuilder 2.3.1
remote: Installing jquery-rails 4.0.5
remote: Installing pg 0.18.3
remote: Using bundler 1.9.7
remote: Installing sprockets 3.3.4
remote: Installing sprockets-rails 2.3.3
remote: Installing rails 4.2.4
remote: Installing rdoc 4.2.0
remote: Installing tilt 2.0.1
remote: Installing sass-rails 5.0.4
remote: Installing sdoc 0.4.1
remote: Installing turbolinks 2.5.3
remote: Installing uglifier 2.7.2
remote: Bundle complete! 13 Gemfile dependencies, 49 gems now installed.
remote: Gems in the groups development and test were not installed.
remote: Bundled gems are installed into ./vendor/bundle.
remote: Post-install message from rdoc:
remote: Depending on your version of ruby, you may need to install ruby rdoc/ri data:
remote: <= 1.8.6 : unsupported
remote: = 1.8.7 : gem install rdoc-data; rdoc-data --install
remote: = 1.9.1 : gem install rdoc-data; rdoc-data --install
remote: >= 1.9.2 : nothing to do! Yay!
remote: Bundle completed (104.82s)
remote: Cleaning up the bundler cache.
remote: -----> Preparing app for Rails asset pipeline
remote: Running: rake assets:precompile
remote: I, [2015-09-28T07:49:00.165952 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/style-d34c51111c7ff006b622aa53e56a5b4d0f4b790fd97d14e526f07f49ba510f50.css
remote: I, [2015-09-28T07:49:00.210994 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/skel-6ebf0abb4ee8c4bfeb8d2ff1d0209b9879d87dcb8336d7755ac39948f7582f66.css
remote: I, [2015-09-28T07:49:01.267930 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/vendor/modernizr-8560f87d0bc4f137917740acabfc72f0d469565340a978cb6aad12c44b48093a.js
remote: I, [2015-09-28T07:49:01.276044 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/FontAwesome-7961070f76a33c1307de19ce2a93dc2b26d6747fa759aee5045118644c758acc.otf
remote: I, [2015-09-28T07:49:01.281526 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/fontawesome-webfont-d4f5a99224154f2a808e42a441ddc9248ffe78b7a4083684ce159270b30b912a.eot
remote: I, [2015-09-28T07:49:01.289320 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/fontawesome-webfont-7414288c272f6cc10304aa18e89bf24fb30f40afd644623f425c2c3d71fbe06a.svg
remote: I, [2015-09-28T07:49:01.295534 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/fontawesome-webfont-1b7f3de49d68b01f415574ebb82e6110a1d09cda2071ad8451bdb5124131a292.ttf
remote: I, [2015-09-28T07:49:01.300303 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/fontawesome-webfont-a7c7e4930090e038a280fd61d88f0dc03dad4aeaedbd8c9be3dd9aa4c3b6f8d1.woff
remote: I, [2015-09-28T07:49:01.304990 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/fontawesome-webfont-3c4a1bb7ce3234407184f0d80cc4dec075e4ad616b44dcc5778e1cfb1bc24019.woff2
remote: I, [2015-09-28T07:49:01.376085 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/1-619bbe7f05be9e0ffa13f3438aebf7e6e9a4c35be0fb6bc1584cc90865b47e04.jpg
remote: I, [2015-09-28T07:49:01.380552 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/10-bbfad3692142924ec7b95a42fd5b08bf5e1e9e692a9a9549ddf0a3f0d7f1bd80.jpg
remote: I, [2015-09-28T07:49:01.385061 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/12-807028758d37267824ae9ecc8c5371591302d48b997a9f2cdca26010232c1e74.jpg
remote: I, [2015-09-28T07:49:01.388537 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/2-a5fe50032b5cec492bb38e3d5059ddcf7d7484cdd38d43335c805c25a4322024.jpg
remote: I, [2015-09-28T07:49:01.392561 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/3-c256cdb4baec1aae3073c10f92578c3c67db9fd4dd5fb7b074126d6c16ce4beb.jpg
remote: I, [2015-09-28T07:49:01.396499 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/4-a1ad81138f38fee3d69d3d4785b89f28c1d2e56c119059ccbb13dec0cc567e6c.jpg
remote: I, [2015-09-28T07:49:01.400756 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/5-421ec5aa726c06bc7582f057b0fd522583454d9454c8de1ac614089f36269e86.jpg
remote: I, [2015-09-28T07:49:01.404974 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/8-d679a8390fb6d050735ae3916dfb9c34e10a80b0f5c8c55dc75832118b1f8a61.jpg
remote: I, [2015-09-28T07:49:01.408862 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/9-8d3397a822df114cebefd4adade876b1c549f5cfb838fb4e0cad522da4da415a.jpg
remote: I, [2015-09-28T07:49:01.415102 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/appointment-eb9bd0f0ba62de9aa8d1c51207e6421269dbf94cae196eb86f4727e4ba0db2dd.jpg
remote: I, [2015-09-28T07:49:01.446778 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/background-0cc2ff0834165e2c15e0eedeaf5dc7860807f281df456efbe0fa7d83a58c06f8.jpg
remote: I, [2015-09-28T07:49:01.610537 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/banner-d62e94cf853e30b8416e7fb5064c1d779e808056f77baa9d8924612dd7ca343a.jpg
remote: I, [2015-09-28T07:49:01.618404 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/bg-543b99c14b25cfcd762a1684d5128eb6db9df2194019bd00ea1740102444f034.jpg
remote: I, [2015-09-28T07:49:01.624185 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/header-9e196a79e9bff8d84da9ee6e613c606551e905fa6ba20592e33c4a25b49810cc.jpg
remote: I, [2015-09-28T07:49:01.629583 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/pic01-b7e963f975e3ba6e42ab4ab84ecbbf04c0bd7343d3fe4b99434b1d9ad1ed3ccb.jpg
remote: I, [2015-09-28T07:49:01.635176 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/pic02-961468274782e709d576a51e9c4f472542c92a0a13b4633d9f1eb240ba687a76.jpg
remote: I, [2015-09-28T07:49:01.641135 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/pic03-4185a129a2d4ba5dd3b2c3e799de30df1643488c5da5f8b2c7a3acbe6df729b3.jpg
remote: I, [2015-09-28T07:49:01.647000 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/pic04-8fd168fc2112ab466d3f7adbae7bb2fd82a849b825e9a5c731337e27d1e3c9c7.jpg
remote: I, [2015-09-28T07:49:01.652514 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/pic05-b5abd8fbb61156d51367830d06fdc220db84c0c1d743effcb0a23211de139af8.jpg
remote: I, [2015-09-28T07:49:01.658227 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/pic06-11e90222ae0e4ed77c643835d55b081ff1010c7447d942e2ebd30b761006baf5.jpg
remote: I, [2015-09-28T07:49:01.663582 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/pic07-41ae5ac47dcd752522c577e9520e8819d4d55a502ee957406f07f78db1bcd89c.jpg
remote: I, [2015-09-28T07:49:01.669478 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/pic08-04339ca573e1e2b0d22639cd06887527b2a21dc56105cba4847568c5ec308082.jpg
remote: I, [2015-09-28T07:49:01.675196 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/pic09-92d705e5b965d6199ac1ced83c4ae80e510bfaefad3a6832c03e3c4300ee2816.jpg
remote: I, [2015-09-28T07:49:01.684023 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/screenshot-60fb3b0fab97f5853160e2d79f9a63789892910729dba58d80f6798c03d0c0b4.jpg
remote: I, [2015-09-28T07:49:01.701762 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/technician-4008cb8dd4a284ff2bb81823b618d252848de764db11c198c4be010d1df7e7c1.jpg
remote: I, [2015-09-28T07:49:01.712203 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/technician2-7fe1da2d50137e336e1119c8b083398776fe461145bf56a4e9d0ad01a3339d82.jpg
remote: I, [2015-09-28T07:49:11.490558 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/application-b8c6fc8c9c6181908a6564b0dbac5f145ab3a58dfbb13b65af4d614f254c4345.js
remote: I, [2015-09-28T07:49:11.496613 #1008] INFO -- : Writing /tmp/build_110496b7cd4a76c2361ab7df9787f94c/public/assets/ie/backgroundsize.min-cbdb6d9bf1733c7937dd54c356f4b883d1c3313baf8fc07e39dd83fdb74359db.htc
remote: rake aborted!
remote: Sass::SyntaxError: Invalid CSS after " line-height": expected ";", was ": 1;"
...
remote: /tmp/build_110496b7cd4a76c2361ab7df9787f94c/vendor/bundle/ruby/2.0.0/gems/sprockets-3.3.4/lib/rake/sprocketstask.rb:147:in `with_logger'
remote: /tmp/build_110496b7cd4a76c2361ab7df9787f94c/vendor/bundle/ruby/2.0.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/task.rb:69:in `block (2 levels) in define'
remote: Tasks: TOP => assets:precompile
remote: (See full trace by running task with --trace)
remote: !
remote: ! Precompiling assets failed.
remote: !
remote:
remote: ! Push rejected, failed to compile Ruby app
remote:
remote: Verifying deploy....
remote:
remote: ! Push rejected to dry-dawn-9744.
remote:
To https://git.heroku.com/dry-dawn-9744.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/dry-dawn-9744.git'
我是 Heroku 的新手。 Heroku 到底想告诉我什么?奇怪的是,我的 rubygems 似乎是 2.4.5 而不是 2.0.14。
最佳答案
Heroku 的标准问题 - Assets 预编译失败:
Sass::SyntaxError: Invalid CSS after " line-height": expected ";", was ": 1;"
您必须在您的 Assets 管道(位于 app/assets/stylesheets/*
中挖掘您的 stylesheets
并找到 line-height
引用。
它看起来可能在 /public/assets/ie/backgroundsize.min.css
中,但并不具体。
--
我的解决方法是在本地运行以下命令:
rake assets:precompile RAILS_ENV=production
这将特别突出显示错误,以便您更正它。完成后,再次提交 git
,看看 Heroku 说了什么。
关于ruby-on-rails - 将 Rails 应用程序部署到 heroku,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32818698/
我正在通过 labrepl 工作,我看到了一些遵循此模式的代码: ;; Pattern (apply #(apply f %&) coll) ;; Concrete example user=> (a
我从未向应用商店提交过应用,但我会在不久的将来提交。 到目前为止,我对为 iPhone 而非 iPad 进行设计感到很自在。 我了解,通过将通用PAID 应用放到应用商店,客户只需支付一次就可以同时使
我有一个应用程序,它使用不同的 Facebook 应用程序(2 个不同的 AppID)在 Facebook 上发布并显示它是“通过 iPhone”/“通过 iPad”。 当 Facebook 应用程序
我有一个要求,我们必须通过将网站源文件保存在本地 iOS 应用程序中来在 iOS 应用程序 Webview 中运行网站。 Angular 需要服务器来运行应用程序,但由于我们将文件保存在本地,我们无法
所以我有一个单页客户端应用程序。 正常流程: 应用程序 -> OAuth2 服务器 -> 应用程序 我们有自己的 OAuth2 服务器,因此人们可以登录应用程序并获取与用户实体关联的 access_t
假设我有一个安装在用户设备上的 Android 应用程序 A,我的应用程序有一个 AppWidget,我们可以让其他 Android 开发人员在其中以每次安装成本为基础发布他们的应用程序推广广告。因此
Secrets of the JavaScript Ninja中有一个例子它提供了以下代码来绕过 JavaScript 的 Math.min() 函数,该函数需要一个可变长度列表。 Example:
当我分别将数组和对象传递给 function.apply() 时,我得到 NaN 的 o/p,但是当我传递对象和数组时,我得到一个数字。为什么会发生这种情况? 由于数组也被视为对象,为什么我无法使用它
CFSDN坚持开源创造价值,我们致力于搭建一个资源共享平台,让每一个IT人在这里找到属于你的精彩世界. 这篇CFSDN的博客文章ASP转换格林威治时间函数DateDiff()应用由作者收集整理,如果你
我正在将列表传递给 map并且想要返回一个带有合并名称的 data.frame 对象。 例如: library(tidyverse) library(broom) mtcars %>% spl
我有一个非常基本的问题,但我不知道如何实现它:我有一个返回数据框,其中每个工具的返回值是按行排列的: tmp<-as.data.frame(t(data.frame(a=rnorm(250,0,1)
我正在使用我的 FB 应用创建群组并邀请用户加入我的应用群组,第一次一切正常。当我尝试创建另一个组时,出现以下错误: {"(OAuthException - #4009) (#4009) 在有更多用户
我们正在开发一款类似于“会说话的本”应用程序的 child 应用程序。它包含大量用于交互式动画的 JPEG 图像序列。 问题是动画在 iPad Air 上播放正常,但在 iPad 2 上播放缓慢或滞后
我关注 clojure 一段时间了,它的一些功能非常令人兴奋(持久数据结构、函数式方法、不可变状态)。然而,由于我仍在学习,我想了解如何在实际场景中应用,证明其好处,然后演化并应用于更复杂的问题。即,
我开发了一个仅使用挪威语的应用程序。该应用程序不使用本地化,因为它应该仅以一种语言(挪威语)显示。但是,我已在 Info.plist 文件中将“本地化 native 开发区域”设置为“no”。我还使用
读完 Anthony's response 后上a style-related parser question ,我试图说服自己编写单体解析器仍然可以相当紧凑。 所以而不是 reference ::
multicore 库中是否有类似 sapply 的东西?还是我必须 unlist(mclapply(..)) 才能实现这一点? 如果它不存在:推理是什么? 提前致谢,如果这是一个愚蠢的问题,我们深表
我喜欢在窗口中弹出结果,以便更容易查看和查找(例如,它们不会随着控制台继续滚动而丢失)。一种方法是使用 sink() 和 file.show()。例如: y <- rnorm(100); x <- r
我有一个如下所示的 spring mvc Controller @RequestMapping(value="/new", method=RequestMethod.POST) public Stri
我正在阅读 StructureMap关于依赖注入(inject),首先有两部分初始化映射,具体类类型的接口(interface),另一部分只是实例化(请求实例)。 第一部分需要配置和设置,这是在 Bo
我是一名优秀的程序员,十分优秀!