- xml - AJAX/Jquery XML 解析
- 具有多重继承的 XML 模式
- .net - 枚举序列化 Json 与 XML
- XML 简单类型、简单内容、复杂类型、复杂内容
当我在我的 Rails 应用程序上运行 bundle update 时,我得到这个错误:
ArgumentError 在/参数数量错误(2 对 1)在
= stylesheet_link_tag "style", media: "all"
即使 style.scss 为空,错误仍然存在。
我认为更新其中一个 gem 会破坏代码,但我不知道它是哪个 gem。
应用程序.html.haml:
%head
%title= content_for?(:title) ? yield(:title) : "SocialPost - Ship for Less"
= stylesheet_link_tag "style", media: "all"
= javascript_include_tag "application"
= csrf_meta_tags
Gemfile.lock 的差异:
diff --git a/Gemfile.lock b/Gemfile.lock
index 1fe4528..1696aa8 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -7,7 +7,7 @@ GIT
GIT
remote: https://github.com/jordanbrock/bootstrap-daterangepicker-rails.git
- revision: 91289922bfa61477af1a812f13541a12db5c8591
+ revision: c15e355432d0292dbce0dc9aca5ab79f12d333b6
specs:
bootstrap-daterangepicker-rails (0.0.8)
railties (>= 3.1)
@@ -39,12 +39,12 @@ GEM
multi_json (~> 1.3)
thread_safe (~> 0.1)
tzinfo (~> 0.3.37)
- addressable (2.3.5)
- annotate (2.6.1)
+ addressable (2.3.6)
+ annotate (2.6.2)
activerecord (>= 2.3.0)
rake (>= 0.8.7)
arel (4.0.2)
- atomic (1.1.14)
+ atomic (1.1.16)
awesome_print (1.2.0)
bcrypt-ruby (3.0.1)
better_errors (1.1.0)
@@ -52,7 +52,7 @@ GEM
erubis (>= 2.6.6)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
- bootstrap-sass (3.1.0.2)
+ bootstrap-sass (3.1.1.0)
sass (~> 3.2)
builder (3.1.4)
capistrano (2.15.5)
@@ -67,9 +67,9 @@ GEM
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
- childprocess (0.4.0)
+ childprocess (0.5.2)
ffi (~> 1.0, >= 1.0.11)
- chunky_png (1.2.9)
+ chunky_png (1.3.0)
clamp (0.6.3)
climate_control (0.0.3)
activesupport (>= 3.0)
@@ -84,58 +84,66 @@ GEM
execjs
coffee-script-source (1.7.0)
columnize (0.3.6)
- compass (0.12.2)
+ compass (0.12.4)
chunky_png (~> 1.2)
fssm (>= 0.2.7)
- sass (~> 3.1)
- compass-rails (1.1.3)
+ sass (~> 3.2.17)
+ compass-rails (1.1.6)
compass (>= 0.12.2)
countries (0.9.3)
currencies (~> 0.4.2)
country_select (1.3.1)
countries (= 0.9.3)
- cucumber (1.3.10)
+ cucumber (1.3.13)
builder (>= 2.1.2)
diff-lcs (>= 1.1.3)
gherkin (~> 2.12)
multi_json (>= 1.7.5, < 2.0)
- multi_test (>= 0.0.2)
+ multi_test (>= 0.1.1)
currencies (0.4.2)
daemons (1.1.9)
database_cleaner (1.2.0)
- datagrid (1.0.5)
+ datagrid (1.1.2)
rails (>= 3.0)
debug_inspector (0.0.2)
- debugger (1.6.5)
+ debugger (1.6.6)
columnize (>= 0.3.1)
debugger-linecache (~> 1.2.0)
- debugger-ruby_core_source (~> 1.3.1)
+ debugger-ruby_core_source (~> 1.3.2)
debugger-linecache (1.2.0)
- debugger-ruby_core_source (1.3.1)
+ debugger-ruby_core_source (1.3.2)
diff-lcs (1.2.5)
erubis (2.7.0)
eventmachine (1.0.3)
- excon (0.31.0)
+ excon (0.32.1)
execjs (2.0.2)
- factory_girl (4.3.0)
+ factory_girl (4.4.0)
activesupport (>= 3.0.0)
- factory_girl_rails (4.3.0)
- factory_girl (~> 4.3.0)
+ factory_girl_rails (4.4.1)
+ factory_girl (~> 4.4.0)
railties (>= 3.0.0)
- faker (1.2.0)
+ faker (1.3.0)
i18n (~> 0.5)
faraday (0.9.0)
multipart-post (>= 1.2, < 3)
ffi (1.9.3)
- fog (1.20.0)
+ fog (1.21.0)
+ fog-brightbox
+ fog-core (~> 1.21, >= 1.21.1)
+ fog-json
+ nokogiri (~> 1.5, >= 1.5.11)
+ fog-brightbox (0.0.1)
+ fog-core
+ fog-json
+ fog-core (1.21.1)
builder
- excon (~> 0.31.0)
+ excon (~> 0.32)
formatador (~> 0.2.0)
mime-types
- multi_json (~> 1.0)
net-scp (~> 1.1)
net-ssh (>= 2.1.3)
- nokogiri (>= 1.5.11)
+ fog-json (1.0.0)
+ multi_json (~> 1.0)
formatador (0.2.4)
fssm (0.2.10)
gelf (1.4.0)
@@ -156,9 +164,9 @@ GEM
railties (~> 4.0.0)
hashie (2.0.5)
high_voltage (2.1.0)
- highline (1.6.20)
+ highline (1.6.21)
hike (1.2.3)
- httparty (0.12.0)
+ httparty (0.13.0)
json (~> 1.8)
multi_xml (>= 0.5.2)
i18n (0.6.9)
@@ -167,8 +175,8 @@ GEM
jquery-rails (3.1.0)
railties (>= 3.0, < 5.0)
thor (>= 0.14, < 2.0)
- jquery-ui-rails (4.1.1)
- railties (>= 3.1.0)
+ jquery-ui-rails (4.2.0)
+ railties (>= 3.2.16)
json (1.8.1)
jwt (0.1.11)
multi_json (>= 1.5)
@@ -182,7 +190,7 @@ GEM
treetop (~> 1.4.8)
method_source (0.8.2)
mime-types (1.25.1)
- mini_portile (0.5.2)
+ mini_portile (0.5.3)
minitest (4.7.5)
monetize (0.1.4)
money (6.0.1)
@@ -193,8 +201,8 @@ GEM
money (~> 6.0.0)
railties (>= 3.0)
mono_logger (1.1.0)
- multi_json (1.8.4)
- multi_test (0.0.3)
+ multi_json (1.9.2)
+ multi_test (0.1.1)
multi_xml (0.5.5)
multipart-post (2.0.0)
net-scp (1.1.2)
@@ -226,14 +234,14 @@ GEM
multi_json
omniauth (~> 1.0)
omniauth-oauth2 (~> 1.1)
- open4 (1.3.0)
- paperclip (4.1.0)
+ open4 (1.3.3)
+ paperclip (4.1.1)
activemodel (>= 3.0.0)
activesupport (>= 3.0.0)
cocaine (~> 0.5.3)
mime-types
pg (0.17.1)
- polyglot (0.3.3)
+ polyglot (0.3.4)
pry (0.9.12.6)
coderay (~> 1.0)
method_source (~> 0.8)
@@ -263,24 +271,24 @@ GEM
activesupport (= 4.0.0)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
- rake (10.1.1)
+ rake (10.2.1)
rdoc (4.1.1)
json (~> 1.4)
redis (3.0.7)
redis-namespace (1.4.1)
redis (~> 3.0.4)
ref (1.0.5)
- resque (1.25.1)
+ resque (1.25.2)
mono_logger (~> 1.0)
multi_json (~> 1.0)
- redis-namespace (~> 1.2)
+ redis-namespace (~> 1.3)
sinatra (>= 0.9.2)
vegas (~> 0.1.2)
- rspec-core (2.14.7)
+ rspec-core (2.14.8)
rspec-expectations (2.14.5)
diff-lcs (>= 1.1.3, < 2.0)
- rspec-mocks (2.14.5)
- rspec-rails (2.14.1)
+ rspec-mocks (2.14.6)
+ rspec-rails (2.14.2)
actionpack (>= 3.0)
activemodel (>= 3.0)
activesupport (>= 3.0)
@@ -288,7 +296,7 @@ GEM
rspec-core (~> 2.14.0)
rspec-expectations (~> 2.14.0)
rspec-mocks (~> 2.14.0)
- rubber (2.7.1)
+ rubber (2.7.4)
capistrano (~> 2.12)
clamp
fog (~> 1.6)
@@ -296,8 +304,8 @@ GEM
net-ssh (~> 2.6)
open4
thor
- rubyzip (1.1.0)
- sass (3.2.14)
+ rubyzip (1.1.2)
+ sass (3.2.18)
sass-rails (4.0.1)
railties (>= 4.0.0, < 5.0)
sass (>= 3.1.10)
@@ -305,8 +313,8 @@ GEM
sdoc (0.4.0)
json (~> 1.8)
rdoc (~> 4.0, < 5.0)
- selenium-webdriver (2.39.0)
- childprocess (>= 0.2.5)
+ selenium-webdriver (2.40.0)
+ childprocess (>= 0.5.0)
multi_json (~> 1.0)
rubyzip (~> 1.0)
websocket (~> 1.0.4)
@@ -317,8 +325,8 @@ GEM
rack (~> 1.4)
rack-protection (~> 1.4)
tilt (~> 1.3, >= 1.3.4)
- slop (3.4.7)
- sprockets (2.10.1)
+ slop (3.5.0)
+ sprockets (2.12.0)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
@@ -330,19 +338,19 @@ GEM
therubyracer (0.12.1)
libv8 (~> 3.16.14.0)
ref
- thin (1.6.1)
+ thin (1.6.2)
daemons (>= 1.0.9)
eventmachine (>= 1.0.0)
rack (>= 1.0.0)
- thor (0.18.1)
- thread_safe (0.1.3)
- atomic
+ thor (0.19.1)
+ thread_safe (0.3.1)
+ atomic (>= 1.1.7, < 2)
tilt (1.4.1)
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
- tzinfo (0.3.38)
- uglifier (2.4.0)
+ tzinfo (0.3.39)
+ uglifier (2.5.0)
execjs (>= 0.3.0)
json (>= 1.8.0)
vegas (0.1.11)
最佳答案
正如“arogos”指出的,问题与指南针有关,但主要问题是由 sass-rails gem 引起的。 sass-rails 4.0.2 依赖于 sass ~> 3.2.0,而 4.0.1 允许 sass >= 3.1.10 。但是,compass 1.0 需要 sass 3.3。要使一切重新正常工作,您需要这个 gem 组合:
gem 'sass', '~> 3.2.0'
gem 'compass', '~> 0.12.4'
gem 'sass-rails', '~> 4.0.2'
gem 'compass-rails', '~> 1.1.7'
要使用 sass 3.3 和 compass 1.0,您必须等待重写 sass-rails(参见 here)
关于ruby-on-rails - bundle 更新创建 ArgumentError,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22697545/
这个问题已经有答案了: Difference between $Bundle install and $Bundle update (2 个回答) 已关闭 9 年前。 bundle 之间有什么区别,
我正在尝试加载 Nib ,但不断收到以下错误: -[NSViewController initWithCoder:] could not instantiate an NSViewController
bundle有什么区别& bundler命令? bundle有什么区别& bundle install ? 如果没有区别,为什么有多个命令做同样的事情? 最佳答案 可执行文件 bundle & bun
我们有托管在应用程序中的单元测试。要加载测试资源,我们使用:Bundle(for: TestClass.self).path(forResource: "some-file", ofType: "js
我刚刚克隆了一个新的 repo 并尝试运行 bundle install但出现以下错误 Fetching gem metadata from https://abcderepos.net/api/ge
我添加了一个共享框架来在应用程序和 watch 扩展之间共享代码。后来我删除了共享框架,因为它会导致很多问题。我可以 build 并在 iphone 上运行我的应用程序并观看。然而,当我提交到应用商店
这个问题有点类似于 this one ,但不完全是。我有一个 C# 游戏引擎,我正在与一些想要使用我的引擎的人一起工作。最初我设计了引擎,以便所有 Assets 都是外部的——非程序员可以创建艺术、音
我正在尝试使用 OSGi 实现客户端-服务器模型。服务器应用程序是在计算机中运行的 OSGi 框架,客户端应用程序远程连接到其控制台并通过 Java 套接字发送命令并接收正确的响应。每个客户端应用程序
我目前正在将我的 Angular 2 应用程序与 WebPack bundle 在一起。我们仍在快速循环,因此我们不想在构建和应用程序加载过程中增加延迟,而是希望包括很少更改的 Angular 2 U
基本上,我有一个捆绑软件,经常在其他 View 中使用,加上其他js文件,因此我可以在保留其顺序的同时将这些文件添加到现有捆绑软件中吗? 最佳答案 我到处都在查找它,但找不到将两个捆绑软件合并在一起的
我有一个大约 12GB 的巨大 mercurial 存储库。我需要在另一台机器上克隆它,但是从网络中提取它需要花费很多时间。当我尝试将所有变更集 bundle 到一个 bundle 文件中时,文件的大
我可以使用 Sonata User Bundle 将 FOS 包集成到 sonata Admin 包中。我的登录功能正常。现在我想添加 FOSUserBundle 中的更改密码等功能到 sonata
如果我检查使用 angular-cli 创建的 angular 2 项目的 index.html 文件,我可以看到该页面仅包含 dist 文件夹中的 3 个文件: inline.bundle.js v
我从程序包管理器http://localhost:4502/crx/packmgr/index.jsp中从正在运行的AEM实例下载了一个zip文件。提取后的zip文件包含jcr_root和META-I
已经提出了有关捆绑名称和捆绑显示名称的类似问题,例如: What's the difference between "bundle display name" and "bundle name" in
我正在尝试在 iTunes 上上传我的应用程序。为此,我创建了一个应用程序 ID 并保留了一个包标识符。在我的项目中,我更改了 info.plist 文件中的包标识符。但是,当我尝试在 itunes
我想从 OSGI 包启动 OSGI 包。正如您所看到的,此代码通过从目录部署它来启动 bundle : private void installStartBundle(BundleContext bc
所以这真的让我头疼,我终于放弃了,在这里发表了问题。我正在尝试更新iTune商店中的一个客户端应用程序,并且在上传到App Store时遇到以下错误。 因此,我已经尝试通过两次使用包sid id创建新
我在 typescript 中使用 aurelia,我想避免使用像这样的相对导入路径: import { DialogBox } from '../../resources/elements/dial
有什么区别 ResourceBundle.getBundle("Bundle") 还有这个 ResourceBundle.getBundle("/Bundle") 最佳答案 来自the Java do
我是一名优秀的程序员,十分优秀!