Created
March 23, 2013 02:11
-
-
Save ppworks/5226103 to your computer and use it in GitHub Desktop.
Enable to show css & js on save_and_open_page ref: http://qiita.com/items/1bf5aa6083b45b02b4f5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gem 'guard-rails-assets' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
guard 'rails-assets', run_on: :change do | |
watch(%r{^app/assets/.+$}) | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# guard-rails-assets | |
config.assets.prefix = 'assets-test' | |
# capybara | |
config.action_controller.asset_host = "file://#{::Rails.root}/public" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment