Sf2 compass pb - NoMethodError on line ["267"] inheritance.rb

Hello

  • I installed sass and compass. Problem when I make compass watch in my
    sf2 project.

" NoMethodError on line [“267”] of
/var/lib/gems/2.3.0/gems/compass-core-1.0.3/lib/compass/configuration/inheritance.rb:
status
Run with --trace to see the full backtrace"

Any idea please ?

  • I config my config.rb like this
    http_path = “/”
    css_dir = “/src/CoreBundle/Resources/public/stylesheets”
    sass_dir = “/src/CoreBundle/Resources/public/sass”
    images_dir = “/src/CoreBundle/Resources/public/images”
    javascripts_dir = “/src/CoreBundle/Resources/public/js”

  • Here is my compass watch --trace
    NoMethodError on line [“267”] of
    /var/lib/gems/2.3.0/gems/compass-core-1.0.3/lib/compass/configuration/inheritance.rb:
    status
    /var/lib/gems/2.3.0/gems/compass-core-1.0.3/lib/compass/configuration/inheritance.rb:265:in
    method_missing' /var/www/html/sf2_type/config.rb:26:inget_binding’
    /var/lib/gems/2.3.0/gems/compass-1.0.3/lib/compass/configuration/serialization.rb:24:in
    eval' /var/lib/gems/2.3.0/gems/compass-1.0.3/lib/compass/configuration/serialization.rb:24:inparse_string’
    /var/lib/gems/2.3.0/gems/compass-1.0.3/lib/compass/configuration/serialization.rb:15:in
    block in _parse' /var/lib/gems/2.3.0/gems/compass-1.0.3/lib/compass/configuration/serialization.rb:14:inopen’
    /var/lib/gems/2.3.0/gems/compass-1.0.3/lib/compass/configuration/serialization.rb:14:in
    _parse' /var/lib/gems/2.3.0/gems/compass-1.0.3/lib/compass/configuration/file_data.rb:7:inblock in new_from_file’
    /var/lib/gems/2.3.0/gems/compass-core-1.0.3/lib/compass/configuration/inheritance.rb:207:in
    with_defaults' /var/lib/gems/2.3.0/gems/compass-1.0.3/lib/compass/configuration/file_data.rb:6:innew_from_file’
    /var/lib/gems/2.3.0/gems/compass-1.0.3/lib/compass/configuration/helpers.rb:19:in
    configuration_for' /var/lib/gems/2.3.0/gems/compass-1.0.3/lib/compass/configuration/helpers.rb:69:inadd_project_configuration’
    /var/lib/gems/2.3.0/gems/compass-1.0.3/lib/compass/commands/project_base.rb:37:in
    add_project_configuration' /var/lib/gems/2.3.0/gems/compass-1.0.3/lib/compass/commands/project_base.rb:25:inconfigure!’
    /var/lib/gems/2.3.0/gems/compass-1.0.3/lib/compass/commands/project_base.rb:15:in
    initialize' /var/lib/gems/2.3.0/gems/compass-1.0.3/lib/compass/commands/update_project.rb:41:ininitialize’
    /var/lib/gems/2.3.0/gems/compass-1.0.3/lib/compass/exec/sub_command_ui.rb:42:in
    new' /var/lib/gems/2.3.0/gems/compass-1.0.3/lib/compass/exec/sub_command_ui.rb:42:inperform!’
    /var/lib/gems/2.3.0/gems/compass-1.0.3/lib/compass/exec/sub_command_ui.rb:15:in
    run!' /var/lib/gems/2.3.0/gems/compass-1.0.3/bin/compass:30:inblock in
    <top (required)>’
    /var/lib/gems/2.3.0/gems/compass-1.0.3/bin/compass:44:in <top (required)>' /usr/local/bin/compass:23:inload’
    /usr/local/bin/compass:23:in `’

and here is my gem list

*** LOCAL GEMS ***

bigdecimal (1.3.1, 1.2.8)
chunky_png (1.3.8)
compass (1.0.3)
compass-core (1.0.3)
compass-import-once (1.0.5)
compass_twitter_bootstrap (2.3.1)
did_you_mean (1.0.0)
ffi (1.9.18, 1.9.17)
io-console (0.4.6, 0.4.5)
json (2.0.3, 1.8.3)
minitest (5.10.1, 5.8.4)
multi_json (1.12.1)
net-telnet (0.1.1)
power_assert (1.0.1, 0.2.7)
psych (2.2.4, 2.0.17)
rake (12.0.0, 10.5.0)
rb-fsevent (0.9.8)
rb-inotify (0.9.8)
rdoc (5.1.0, 4.2.1)
sass (3.4.13)
test-unit (3.2.3, 3.1.7)

Error found !

in fact no error, I obviously write a non comment lign in my config.rb.
I 'v delete this lign and now my compass watch works.