ruby on rails - Deface never find results for rake deface:get_result -


no matters selector try use in rake deface:get_result never finds it. i've got in code decorator works

deface::override.new(:virtual_path => "spree/checkout/registration",                      :name => "removes_registration_header",                      :remove => "h1",                      :disabled => false) 

now when try rake deface:get_result['spree/checkout/registration','h1'] got answer: zsh: no matches found: deface:get_result[spree/checkout/registration,h1]

how use rake deface:get_result?

note: tried prepend bundle exec results same

if use zsh need escape square brackets or other special characters spaces \, can try like

bundle exec rake deface:get_result\['spree/checkout/registration'\] 

also make sure run rake bundle exec ensure using correct version of gem.

from example, seems using deface:get_result task incorrectly. takes 1 parameter virtual path of template. assume trying test selector, can with

bundle exec rake deface:test_selector\['spree/checkout/registration','h1'\] 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -