Menu
  • HOME
  • TAGS

Checking if a hidden file exists with Serverspec

ruby,integration-testing,hidden-files,dotfiles,test-kitchen

The ~ shorthand is a path expansion supported by many popular shells, but it is not a true filesystem path. In effect, you are asking the file resource to look for a file .gemrc in an actual subdirectory named ~ (from an unspecified working directory, whatever it may be at...

NodeJS Express Module: 'dotfile' options no working

node.js,express,middleware,dotfiles

You are using Express 2.5.8 and the documentation you are looking at is likely for 4.x. 2.5.8 does not have a dotfiles option because it uses connect 1.x which did not support it. Your two options are either: Pull in serve-static like you are doing in your example. Upgrade your...

An executable that contains data

haskell,dotfiles

You can do this using Template Haskell. Check out the file-embed package.