読者です 読者をやめる 読者になる 読者になる

Asset Pipeline のロードパスの一覧を確認する

Rails
$ rails c
> y Rails.application.config.assets.paths
---
- "/Users/username/workspace/personal/demo/app/assets/images"
- "/Users/username/workspace/personal/demo/app/assets/javascripts"
- "/Users/username/workspace/personal/demo/app/assets/stylesheets"
- "/Users/username/workspace/personal/demo/vendor/assets/javascripts"
- "/Users/username/workspace/personal/demo/vendor/assets/stylesheets"
- "/Users/username/.rbenv/versions/2.1.4/gemsets/demo/gems/jquery-rails-3.1.2/vendor/assets/javascripts"
- "/Users/username/.rbenv/versions/2.1.4/gemsets/demo/gems/coffee-rails-4.0.1/lib/assets/javascripts"
- "/Users/username/.rbenv/versions/2.1.4/gemsets/demo/gems/bootstrap-sass-3.3.1.0/assets/stylesheets"
- "/Users/username/.rbenv/versions/2.1.4/gemsets/demo/gems/bootstrap-sass-3.3.1.0/assets/javascripts"
- "/Users/username/.rbenv/versions/2.1.4/gemsets/demo/gems/bootstrap-sass-3.3.1.0/assets/fonts"
- "/Users/username/.rbenv/versions/2.1.4/gemsets/demo/gems/bootstrap-sass-3.3.1.0/assets/images"

見やすいように YAML 形式で出力しています。