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

Heroku deployment for staging environment #133

Closed
wants to merge 1 commit into from

Conversation

sandipransing
Copy link

As i am deploying on heroku staging environment. It gaves me file permission error.
I think instead raising exception it would be good to log exception.

inspite raising exception log it
@vhochstein
Copy link
Owner

Well, if you raise an exception everybody immediatly notice that something is wrong.
and in your case I suggest to disable asset copying for heroku environment.

@RobertLowe
Copy link

Prolly needs this:

config/initializers/active_scaffold.rb:
ACTIVE_SCAFFOLD_INSTALL_ASSETS = false

@sandipransing
Copy link
Author

looks perfect. @vhochstein your views ?

@vhochstein
Copy link
Owner

Yes Robert is right. His statement shows you how to disable asset copying if you are using activescafffold as a gem.
If you are using it as a plugin you have to add that code line somewhere else eg active_scaffold_env.rb

ssinghi pushed a commit to tastebook/active_scaffold that referenced this pull request Feb 9, 2015
fixed a typo in the German translation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants