links for 2010-07-1919/07/2010
Step 1: Navigate to the directory of your gem or the required gem in consideration. For example, I had to deal with a gem named devise (v1.0.5) while installing Shapado. So I navigated to the required folder: [HOME]/shapado/vendor/gems/devise-1.0.5
Step 2: Now use this command to create the spec file.
gem specification [gemname] > .specification