Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

can configure the public_path to store the assets before upload #174

Merged
merged 1 commit into from

2 participants

@deepak

by default it is stored under the public folder which in my opinion
is messy for git status

also my public folder has files like 404.html and robots.txt
only want files under asset-pipeline to be synced

@deepak deepak can configure the public_path to store the assets before upload
by default it is stored under the public folder which in my opinion
is messy for git status

also my public folder has files like 404.html and robots.txt
only want files under asset-pipeline to be synced
5641192
@davidjrice
Owner

Please rebase this, hopefully the build will pass and we can look at getting this merged in. Thanks.

@davidjrice davidjrice merged commit c7da137 into rumblelabs:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 22, 2013
  1. @deepak

    can configure the public_path to store the assets before upload

    deepak authored
    by default it is stored under the public folder which in my opinion
    is messy for git status
    
    also my public folder has files like 404.html and robots.txt
    only want files under asset-pipeline to be synced
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/asset_sync/config.rb
View
2  lib/asset_sync/config.rb
@@ -142,6 +142,8 @@ def load_yml!
self.aws_secret_access_key = yml["secret_access_key"] if yml.has_key?("secret_access_key")
self.fog_directory = yml["bucket"] if yml.has_key?("bucket")
self.fog_region = yml["region"] if yml.has_key?("region")
+
+ self.public_path = yml["public_path"] if yml.has_key?("public_path")
end
Something went wrong with that request. Please try again.