Ruby on rails ArgumentError参数数目错误(给定0,应为1)-Scss文件

Ruby on rails ArgumentError参数数目错误(给定0,应为1)-Scss文件,ruby-on-rails,sass,Ruby On Rails,Sass,我正在运行Rails(v4.2.6)应用程序。当我尝试使用.scss时,应用程序在使用Sass功能(即:使用变量)时崩溃 它给出的确切误差为: wrong number of arguments (given 0, expected 1) (in .../app/assets/stylesheets/application.scss) 在线 = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' =&

我正在运行Rails(v4.2.6)应用程序。当我尝试使用
.scss
时,应用程序在使用Sass功能(即:使用变量)时崩溃

它给出的确切误差为:

wrong number of arguments (given 0, expected 1) (in .../app/assets/stylesheets/application.scss)
在线

= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
导致崩溃的代码位于应用程序.scss中(使用变量)

Gemfile

    # encoding: UTF-8
    source 'https://rubygems.org'

    # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
    gem 'rails'

    # Use mysql as the production database
    gem 'mysql2'

    # authentication gems
    gem 'devise'
    gem 'doorkeeper'

    # logging
    gem 'impressionist'

    # RestClient for sending mail using mailgun
    gem 'rest-client'

    # new search engine
    gem 'fuzzily'

    # Use SCSS for stylesheets, sprockets for assets
    gem 'sprockets', '~> 2.11.0'
    gem 'sass-rails'

    # use of Haml and rabl
    gem 'haml'
    gem 'rabl'

    # Gem voor html5 stubs met form features
    gem 'modernizr-rails'

    # Use for javascript and libraries
    gem 'execjs'
    gem 'jquery-rails'

    # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
    gem 'turbolinks'
    gem 'responders'

    # settings cached in rails environment
    gem 'rails-settings-cached'

    # Paperclip easy file upload to S3
    gem 'paperclip'

    # fancy JS alert and confirm
    gem 'sweetalert-rails'

    # Clipboard: Saved text to clipboard
    gem 'clipboard-rails'

    group :production do
      gem 'unicorn'
      gem 'aws-sdk', '~> 1.5.7'
      gem 'uglifier'
    end

    group :development do
      gem 'web-console'
      gem 'spring'
      gem 'faker'
    end

    group :test do
      gem 'spring'
      gem 'faker'
    end
Gemfile.lock

    GEM
      remote: https://rubygems.org/
      specs:
        actionmailer (4.2.6)
          actionpack (= 4.2.6)
          actionview (= 4.2.6)
          activejob (= 4.2.6)
          mail (~> 2.5, >= 2.5.4)
          rails-dom-testing (~> 1.0, >= 1.0.5)
        actionpack (4.2.6)
          actionview (= 4.2.6)
          activesupport (= 4.2.6)
          rack (~> 1.6)
          rack-test (~> 0.6.2)
          rails-dom-testing (~> 1.0, >= 1.0.5)
          rails-html-sanitizer (~> 1.0, >= 1.0.2)
        actionview (4.2.6)
          activesupport (= 4.2.6)
          builder (~> 3.1)
          erubis (~> 2.7.0)
          rails-dom-testing (~> 1.0, >= 1.0.5)
          rails-html-sanitizer (~> 1.0, >= 1.0.2)
        activejob (4.2.6)
          activesupport (= 4.2.6)
          globalid (>= 0.3.0)
        activemodel (4.2.6)
          activesupport (= 4.2.6)
          builder (~> 3.1)
        activerecord (4.2.6)
          activemodel (= 4.2.6)
          activesupport (= 4.2.6)
          arel (~> 6.0)
        activesupport (4.2.6)
          i18n (~> 0.7)
          json (~> 1.7, >= 1.7.7)
          minitest (~> 5.1)
          thread_safe (~> 0.3, >= 0.3.4)
          tzinfo (~> 1.1)
        arel (6.0.3)
        aws-sdk (1.5.8)
          httparty (~> 0.7)
          json (~> 1.4)
          nokogiri (>= 1.4.4)
          uuidtools (~> 2.1)
        bcrypt (3.1.11)
        builder (3.2.2)
        climate_control (0.0.3)
          activesupport (>= 3.0)
        clipboard-rails (1.6.0)
        cocaine (0.5.8)
          climate_control (>= 0.0.3, < 1.0)
        coffee-rails (4.1.1)
          coffee-script (>= 2.2.0)
          railties (>= 4.0.0, < 5.1.x)
        coffee-script (2.4.1)
          coffee-script-source
          execjs
        coffee-script-source (1.10.0)
        debug_inspector (0.0.2)
        devise (3.5.6)
          bcrypt (~> 3.0)
          orm_adapter (~> 0.1)
          railties (>= 3.2.6, < 5)
          responders
          thread_safe (~> 0.1)
          warden (~> 1.2.3)
        domain_name (0.5.20160310)
          unf (>= 0.0.5, < 1.0.0)
        doorkeeper (3.1.0)
          railties (>= 3.2)
        erubis (2.7.0)
        execjs (2.6.0)
        faker (1.6.3)
          i18n (~> 0.5)
        fuzzily (0.3.3)
          activerecord (>= 2.3.17)
        globalid (0.3.6)
          activesupport (>= 4.1.0)
        haml (4.0.7)
          tilt
        hike (1.2.3)
        http-cookie (1.0.2)
          domain_name (~> 0.5)
        httparty (0.13.7)
          json (~> 1.8)
          multi_xml (>= 0.5.2)
        httpclient (2.7.1)
        i18n (0.7.0)
        impressionist (1.5.1)
          httpclient (~> 2.2)
          nokogiri (~> 1.5)
        jquery-rails (4.1.1)
          rails-dom-testing (>= 1, < 3)
          railties (>= 4.2.0)
          thor (>= 0.14, < 2.0)
        json (1.8.3)
        kgio (2.10.0)
        loofah (2.0.3)
          nokogiri (>= 1.5.9)
        mail (2.6.4)
          mime-types (>= 1.16, < 4)
        mime-types (2.99.1)
        mimemagic (0.3.0)
        mini_portile2 (2.0.0)
        minitest (5.8.4)
        modernizr-rails (2.7.1)
        multi_json (1.11.2)
        multi_xml (0.5.5)
        mysql2 (0.4.3)
        netrc (0.11.0)
        nokogiri (1.6.7.2)
          mini_portile2 (~> 2.0.0.rc2)
        orm_adapter (0.5.0)
        paperclip (4.3.6)
          activemodel (>= 3.2.0)
          activesupport (>= 3.2.0)
          cocaine (~> 0.5.5)
          mime-types
          mimemagic (= 0.3.0)
        rabl (0.12.0)
          activesupport (>= 2.3.14)
        rack (1.6.4)
        rack-test (0.6.3)
          rack (>= 1.0)
        rails (4.2.6)
          actionmailer (= 4.2.6)
          actionpack (= 4.2.6)
          actionview (= 4.2.6)
          activejob (= 4.2.6)
          activemodel (= 4.2.6)
          activerecord (= 4.2.6)
          activesupport (= 4.2.6)
          bundler (>= 1.3.0, < 2.0)
          railties (= 4.2.6)
          sprockets-rails
        rails-deprecated_sanitizer (1.0.3)
          activesupport (>= 4.2.0.alpha)
        rails-dom-testing (1.0.7)
          activesupport (>= 4.2.0.beta, < 5.0)
          nokogiri (~> 1.6.0)
          rails-deprecated_sanitizer (>= 1.0.1)
        rails-html-sanitizer (1.0.3)
          loofah (~> 2.0)
        rails-settings-cached (0.5.4)
          rails (>= 4.2.0)
        railties (4.2.6)
          actionpack (= 4.2.6)
          activesupport (= 4.2.6)
          rake (>= 0.8.7)
          thor (>= 0.18.1, < 2.0)
        raindrops (0.16.0)
        rake (11.1.2)
        responders (2.1.2)
          railties (>= 4.2.0, < 5.1)
        rest-client (1.8.0)
          http-cookie (>= 1.0.2, < 2.0)
          mime-types (>= 1.16, < 3.0)
          netrc (~> 0.7)
        sass (3.4.21)
        sass-rails (5.0.4)
          railties (>= 4.0.0, < 5.0)
          sass (~> 3.1)
          sprockets (>= 2.8, < 4.0)
          sprockets-rails (>= 2.0, < 4.0)
          tilt (>= 1.1, < 3)
        spring (1.6.4)
        sprockets (2.11.3)
          hike (~> 1.2)
          multi_json (~> 1.0)
          rack (~> 1.0)
          tilt (~> 1.1, != 1.3.0)
        sprockets-rails (2.3.3)
          actionpack (>= 3.0)
          activesupport (>= 3.0)
          sprockets (>= 2.8, < 4.0)
        sweetalert-rails (1.1.3)
          railties (>= 3.1.0)
        thor (0.19.1)
        thread_safe (0.3.5)
        tilt (1.4.1)
        turbolinks (2.5.3)
          coffee-rails
        tzinfo (1.2.2)
          thread_safe (~> 0.1)
        uglifier (3.0.0)
          execjs (>= 0.3.0, < 3)
        unf (0.1.4)
          unf_ext
        unf_ext (0.0.7.2)
        unicorn (5.0.1)
          kgio (~> 2.6)
          rack
          raindrops (~> 0.7)
        uuidtools (2.1.5)
        warden (1.2.6)
          rack (>= 1.0)
        web-console (3.1.1)
          activemodel (>= 4.2)
          debug_inspector
          railties (>= 4.2)

    PLATFORMS
      ruby

    DEPENDENCIES
      aws-sdk (~> 1.5.7)
      clipboard-rails
      devise
      doorkeeper
      execjs
      faker
      fuzzily
      haml
      impressionist
      jquery-rails
      modernizr-rails
      mysql2
      paperclip
      rabl
      rails
      rails-settings-cached
      responders
      rest-client
      sass-rails
      spring
      sprockets (~> 2.11.0)
      sweetalert-rails
      turbolinks
      uglifier
      unicorn
      web-console

    BUNDLED WITH
       1.13.6
GEM
远程:https://rubygems.org/
规格:
actionmailer(4.2.6)
actionpack(=4.2.6)
actionview(=4.2.6)
活动作业(=4.2.6)
邮件(~>2.5,>=2.5.4)
rails dom测试(~>1.0,>=1.0.5)
actionpack(4.2.6)
actionview(=4.2.6)
主动支持(=4.2.6)
机架(~>1.6)
机架测试(~>0.6.2)
rails dom测试(~>1.0,>=1.0.5)
rails html消毒剂(~>1.0,>=1.0.2)
actionview(4.2.6)
主动支持(=4.2.6)
生成器(~>3.1)
erubis(~>2.7.0)
rails dom测试(~>1.0,>=1.0.5)
rails html消毒剂(~>1.0,>=1.0.2)
activejob(4.2.6)
主动支持(=4.2.6)
globalid(>=0.3.0)
activemodel(4.2.6)
主动支持(=4.2.6)
生成器(~>3.1)
activerecord(4.2.6)
活动模型(=4.2.6)
主动支持(=4.2.6)
arel(~>6.0)
activesupport(4.2.6)
i18n(~>0.7)
json(~>1.7,>=1.7.7)
小型试验(~>5.1)
螺纹安全(~>0.3,>=0.3.4)
tzinfo(~>1.1)
阿雷尔(6.0.3)
aws sdk(1.5.8)
httparty(~>0.7)
json(~>1.4)
nokogiri(>=1.4.4)
UUID工具(~>2.1)
bcrypt(3.1.11)
建造商(3.2.2)
气候控制(0.0.3)
activesupport(>=3.0)
剪贴板轨道(1.6.0)
可卡因(0.5.8)
气候控制(>=0.0.3,<1.0)
咖啡架(4.1.1)
咖啡脚本(>=2.2.0)
钢轨(>=4.0.0,<5.1.x)
咖啡脚本(2.4.1)
咖啡脚本源
execjs
coffee脚本源代码(1.10.0)
调试检查程序(0.0.2)
设计(3.5.6)
bcrypt(~>3.0)
orm_适配器(~>0.1)
钢轨(>=3.2.6,<5)
响应者
线程安全(~>0.1)
典狱长(~>1.2.3)
域名(0.5.20160310)
unf(>=0.0.5,<1.0.0)
门卫(3.1.0)
钢轨(>=3.2)
erubis(2.7.0)
execjs(2.6.0)
伪造者(1.6.3)
i18n(~>0.5)
模糊(0.3.3)
activerecord(>=2.3.17)
globalid(0.3.6)
activesupport(>=4.1.0)
haml(4.0.7)
倾斜
徒步旅行(1.2.3)
http cookie(1.0.2)
域名(~>0.5)
httparty(0.13.7)
json(~>1.8)
多xml(>=0.5.2)
httpclient(2.7.1)
i18n(0.7.0)
印象派(1.5.1)
httpclient(~>2.2)
nokogiri(~>1.5)
jquery rails(4.1.1)
rails dom测试(>=1,<3)
钢轨(>=4.2.0)
雷神(>=0.14,<2.0)
json(1.8.3)
kgio(2.10.0)
丝瓜(2.0.3)
nokogiri(>=1.5.9)
邮件(2.6.4)
mime类型(>=1.16,<4)
mime类型(2.99.1)
mimemagic(0.3.0)
迷你端口2(2.0.0)
小型试验(5.8.4)
现代化钢轨(2.7.1)
多线程json(1.11.2)
多xml(0.5.5)
mysql2(0.4.3)
netrc(0.11.0)
nokogiri(1.6.7.2)
迷你端口2(~>2.0.0.rc2)
orm_适配器(0.5.0)
回形针(4.3.6)
activemodel(>=3.2.0)
activesupport(>=3.2.0)
可卡因(~>0.5.5)
mime类型
mimemagic(=0.3.0)
rabl(0.12.0)
activesupport(>=2.3.14)
机架(1.6.4)
机架测试(0.6.3)
机架(>=1.0)
轨道(4.2.6)
actionmailer(=4.2.6)
actionpack(=4.2.6)
actionview(=4.2.6)
活动作业(=4.2.6)
活动模型(=4.2.6)
活动记录(=4.2.6)
主动支持(=4.2.6)
捆绑机(>=1.3.0,<2.0)
栏杆(=4.2.6)
链轮轨道
rails-不推荐的_消毒液(1.0.3)
activesupport(>=4.2.0.alpha)
rails dom测试(1.0.7)
activesupport(>=4.2.0.beta,<5.0)
nokogiri(~>1.6.0)
rails-不推荐使用的_消毒剂(>=1.0.1)
rails html消毒剂(1.0.3)
丝瓜(~>2.0)
缓存的rails设置(0.5.4)
轨道(>=4.2.0)
栏杆(4.2.6)
actionpack(=4.2.6)
主动支持(=4.2.6)
耙(大于等于0.8.7)
雷神(>=0.18.1,<2.0)
雨滴(0.16.0)
耙(11.1.2)
响应者(2.1.2)
钢轨(>=4.2.0,<5.1)
rest客户端(1.8.0)
http cookie(>=1.0.2,<2.0)
mime类型(>=1.16,<3.0)
netrc(~>0.7)
sass(3.4.21)
sass导轨(5.0.4)
钢轨(>=4.0.0,<5.0)
sass(~>3.1)
链轮(>=2.8,<4.0)
链轮轨道(>=2.0,<4.0)
倾斜(>=1.1,<3)
弹簧(1.6.4)
链轮(2.11.3)
徒步旅行(~>1.2)
多重json(~>1.0)
机架(~>1.0)
倾斜(~>1.1,!=1.3.0)
链轮轨道(2.3.3)
actionpack(>=3.0)
activesupport(>=3.0)
链轮(>=2.8,<4.0)
sweetalert导轨(1.1.3)
钢轨(>=3.1.0)
雷神(0.19.1)
螺纹安全(0.3.5)
倾斜(1.4.1)
涡轮链路(2.5.3)
咖啡架
tzinfo(1.2.2)
线程安全(~>0.1)
丑八怪(3.0.0)
execjs(>=0.3.0,<3)
unf(0.1.4)
U
    GEM
      remote: https://rubygems.org/
      specs:
        actionmailer (4.2.6)
          actionpack (= 4.2.6)
          actionview (= 4.2.6)
          activejob (= 4.2.6)
          mail (~> 2.5, >= 2.5.4)
          rails-dom-testing (~> 1.0, >= 1.0.5)
        actionpack (4.2.6)
          actionview (= 4.2.6)
          activesupport (= 4.2.6)
          rack (~> 1.6)
          rack-test (~> 0.6.2)
          rails-dom-testing (~> 1.0, >= 1.0.5)
          rails-html-sanitizer (~> 1.0, >= 1.0.2)
        actionview (4.2.6)
          activesupport (= 4.2.6)
          builder (~> 3.1)
          erubis (~> 2.7.0)
          rails-dom-testing (~> 1.0, >= 1.0.5)
          rails-html-sanitizer (~> 1.0, >= 1.0.2)
        activejob (4.2.6)
          activesupport (= 4.2.6)
          globalid (>= 0.3.0)
        activemodel (4.2.6)
          activesupport (= 4.2.6)
          builder (~> 3.1)
        activerecord (4.2.6)
          activemodel (= 4.2.6)
          activesupport (= 4.2.6)
          arel (~> 6.0)
        activesupport (4.2.6)
          i18n (~> 0.7)
          json (~> 1.7, >= 1.7.7)
          minitest (~> 5.1)
          thread_safe (~> 0.3, >= 0.3.4)
          tzinfo (~> 1.1)
        arel (6.0.3)
        aws-sdk (1.5.8)
          httparty (~> 0.7)
          json (~> 1.4)
          nokogiri (>= 1.4.4)
          uuidtools (~> 2.1)
        bcrypt (3.1.11)
        builder (3.2.2)
        climate_control (0.0.3)
          activesupport (>= 3.0)
        clipboard-rails (1.6.0)
        cocaine (0.5.8)
          climate_control (>= 0.0.3, < 1.0)
        coffee-rails (4.1.1)
          coffee-script (>= 2.2.0)
          railties (>= 4.0.0, < 5.1.x)
        coffee-script (2.4.1)
          coffee-script-source
          execjs
        coffee-script-source (1.10.0)
        debug_inspector (0.0.2)
        devise (3.5.6)
          bcrypt (~> 3.0)
          orm_adapter (~> 0.1)
          railties (>= 3.2.6, < 5)
          responders
          thread_safe (~> 0.1)
          warden (~> 1.2.3)
        domain_name (0.5.20160310)
          unf (>= 0.0.5, < 1.0.0)
        doorkeeper (3.1.0)
          railties (>= 3.2)
        erubis (2.7.0)
        execjs (2.6.0)
        faker (1.6.3)
          i18n (~> 0.5)
        fuzzily (0.3.3)
          activerecord (>= 2.3.17)
        globalid (0.3.6)
          activesupport (>= 4.1.0)
        haml (4.0.7)
          tilt
        hike (1.2.3)
        http-cookie (1.0.2)
          domain_name (~> 0.5)
        httparty (0.13.7)
          json (~> 1.8)
          multi_xml (>= 0.5.2)
        httpclient (2.7.1)
        i18n (0.7.0)
        impressionist (1.5.1)
          httpclient (~> 2.2)
          nokogiri (~> 1.5)
        jquery-rails (4.1.1)
          rails-dom-testing (>= 1, < 3)
          railties (>= 4.2.0)
          thor (>= 0.14, < 2.0)
        json (1.8.3)
        kgio (2.10.0)
        loofah (2.0.3)
          nokogiri (>= 1.5.9)
        mail (2.6.4)
          mime-types (>= 1.16, < 4)
        mime-types (2.99.1)
        mimemagic (0.3.0)
        mini_portile2 (2.0.0)
        minitest (5.8.4)
        modernizr-rails (2.7.1)
        multi_json (1.11.2)
        multi_xml (0.5.5)
        mysql2 (0.4.3)
        netrc (0.11.0)
        nokogiri (1.6.7.2)
          mini_portile2 (~> 2.0.0.rc2)
        orm_adapter (0.5.0)
        paperclip (4.3.6)
          activemodel (>= 3.2.0)
          activesupport (>= 3.2.0)
          cocaine (~> 0.5.5)
          mime-types
          mimemagic (= 0.3.0)
        rabl (0.12.0)
          activesupport (>= 2.3.14)
        rack (1.6.4)
        rack-test (0.6.3)
          rack (>= 1.0)
        rails (4.2.6)
          actionmailer (= 4.2.6)
          actionpack (= 4.2.6)
          actionview (= 4.2.6)
          activejob (= 4.2.6)
          activemodel (= 4.2.6)
          activerecord (= 4.2.6)
          activesupport (= 4.2.6)
          bundler (>= 1.3.0, < 2.0)
          railties (= 4.2.6)
          sprockets-rails
        rails-deprecated_sanitizer (1.0.3)
          activesupport (>= 4.2.0.alpha)
        rails-dom-testing (1.0.7)
          activesupport (>= 4.2.0.beta, < 5.0)
          nokogiri (~> 1.6.0)
          rails-deprecated_sanitizer (>= 1.0.1)
        rails-html-sanitizer (1.0.3)
          loofah (~> 2.0)
        rails-settings-cached (0.5.4)
          rails (>= 4.2.0)
        railties (4.2.6)
          actionpack (= 4.2.6)
          activesupport (= 4.2.6)
          rake (>= 0.8.7)
          thor (>= 0.18.1, < 2.0)
        raindrops (0.16.0)
        rake (11.1.2)
        responders (2.1.2)
          railties (>= 4.2.0, < 5.1)
        rest-client (1.8.0)
          http-cookie (>= 1.0.2, < 2.0)
          mime-types (>= 1.16, < 3.0)
          netrc (~> 0.7)
        sass (3.4.21)
        sass-rails (5.0.4)
          railties (>= 4.0.0, < 5.0)
          sass (~> 3.1)
          sprockets (>= 2.8, < 4.0)
          sprockets-rails (>= 2.0, < 4.0)
          tilt (>= 1.1, < 3)
        spring (1.6.4)
        sprockets (2.11.3)
          hike (~> 1.2)
          multi_json (~> 1.0)
          rack (~> 1.0)
          tilt (~> 1.1, != 1.3.0)
        sprockets-rails (2.3.3)
          actionpack (>= 3.0)
          activesupport (>= 3.0)
          sprockets (>= 2.8, < 4.0)
        sweetalert-rails (1.1.3)
          railties (>= 3.1.0)
        thor (0.19.1)
        thread_safe (0.3.5)
        tilt (1.4.1)
        turbolinks (2.5.3)
          coffee-rails
        tzinfo (1.2.2)
          thread_safe (~> 0.1)
        uglifier (3.0.0)
          execjs (>= 0.3.0, < 3)
        unf (0.1.4)
          unf_ext
        unf_ext (0.0.7.2)
        unicorn (5.0.1)
          kgio (~> 2.6)
          rack
          raindrops (~> 0.7)
        uuidtools (2.1.5)
        warden (1.2.6)
          rack (>= 1.0)
        web-console (3.1.1)
          activemodel (>= 4.2)
          debug_inspector
          railties (>= 4.2)

    PLATFORMS
      ruby

    DEPENDENCIES
      aws-sdk (~> 1.5.7)
      clipboard-rails
      devise
      doorkeeper
      execjs
      faker
      fuzzily
      haml
      impressionist
      jquery-rails
      modernizr-rails
      mysql2
      paperclip
      rabl
      rails
      rails-settings-cached
      responders
      rest-client
      sass-rails
      spring
      sprockets (~> 2.11.0)
      sweetalert-rails
      turbolinks
      uglifier
      unicorn
      web-console

    BUNDLED WITH
       1.13.6
$color: #FFF;
a {
  color: $color;
}