Skip to content

Instantly share code, notes, and snippets.

@martin-brennan
Created December 24, 2014 07:25
Show Gist options
  • Save martin-brennan/635069f7f90670ea7dd8 to your computer and use it in GitHub Desktop.
Save martin-brennan/635069f7f90670ea7dd8 to your computer and use it in GitHub Desktop.
gem specification and dir in ruby
spec = Gem::Specification.find_by_name("rain-doc")
FileUtils.cp_r spec.gem_dir + '/templates/css/.', './rain_out/css'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment