Created
May 23, 2014 17:32
-
-
Save whunter/182bec134dd1a8428667 to your computer and use it in GitHub Desktop.
Create nested directories in RoR public folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'fileutils' | |
FileUtils::mkdir_p Rails.root + 'public/foo/bar' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment