1

所以我有

- [folder]
  + config.rb
  + [scss]
  + [js]
  + [img]
  + [css]

但我想拥有

- [folder]
  + config.rb
  - [folder]
    - [folder] 
      + [scss]
      + [js]
      + [img]
      + [css]

我已经尝试过该project_path变量,但它没有用。任何帮助都会很棒

4

1 回答 1

2

For this structure:

- deploy/
  + config.rb
  - public_html/
    - assets/ 
      - sass/
      - js/
      - img/
      - css/

Try this:

http_path = "public_html/"
sass_dir = "public_html/assets/sass"
css_dir = "public_html/assets/css"
images_dir = "public_html/assets/img"
javascripts_dir = "public_html/assets/js"
relative_assets = true
于 2012-11-14T15:46:00.500 回答