Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default AssetSync.config.enabled in production/staging env #74

Open
davidjrice opened this issue May 4, 2012 · 2 comments
Open

Default AssetSync.config.enabled in production/staging env #74

davidjrice opened this issue May 4, 2012 · 2 comments

Comments

@davidjrice
Copy link
Contributor

From a previous issue...

So I think possibly the best way is to have an Array of environments. (Defaulted to production and staging)

AssetSync.configure do |config|
  config.environments = [:production, :staging]
end

This could then be modified by the initializer.
Enabling via YAML and ENV variable might require accepting non-symbol environment names in a comma separated string.

@dgilperez
Copy link

+1

@dgilperez
Copy link

So this is my first attempt to achieve this feature.

Please share your thoughts about it, I can elaborate it forward if required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
@davidjrice @dgilperez and others