title: How do i create a gem which will generate a css file from a template
body: <p>I have a set of css files which I use in almost all projects.
  I would like to create a gem which has a generator inside it.
  I managed to write some code using the tutorial given here <a href="http://guides.rubyonrails.org/generators.html" rel="nofollow">http://guides.rubyonrails.org/generators.html</a></p>
  
  <p>However i am not sure about how to move this to a gem and use a command like device install ....</p>