How to create symlink on heroku server?
My rails app is on heroku server. I need to create symlink for public 开发者_高级运维folder.
How to create symlink on heroku server?
Thanks!
You can do this using the Ephemeral Filesystem, but only if you're using the Cedar stack (currently in beta at the time of this writing). More info on Heroku's stacks: http://devcenter.heroku.com/articles/stack
Just simply make a symlink like you normally would -- but you should also expect it to not exist at boot time.
精彩评论