# .specification or .gemspec?

**URL:** <https://www.ruby-forum.com/t/specification-or-gemspec/161153>\
**Category:** Rails\
**Created:** [February 23, 2009, 10:21pm UTC](https://www.ruby-forum.com/t/specification-or-gemspec/161153 "2009-02-23T22:21:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![serengetisunset](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/5fc32e/32.png) [@serengetisunset](https://www.ruby-forum.com/u/serengetisunset)\
**Post date:** [February 23, 2009, 10:21pm UTC](https://www.ruby-forum.com/t/specification-or-gemspec/161153/1 "2009-02-23T22:21:45Z")

</div>

Hi,

I am currently working on Heroku ([herokugarden.com](http://herokugarden.com)) and pushing to the  
Heroku Git repo from my local computer. I am also installing gems on  
local. When I install gems locally, they generate .gemspec files in a  
specification/ folder. However, when I push through to Heroku, it tells  
me that I’m missing a .specification file for that gem and that I should  
run ‘rake gems:refresh\_specs’. Furthermore, even when I run this  
command, it tells me to . Are these 2 the same thing? But just with  
different file extensions? I am using Rails 2.2.2 locally, and Heroku  
uses 2.1. Could this be making the difference?

I am confused as to why a .specification file needs to exist when I push  
into Heroku but I am never asked for it on my local copy.

Any suggestions?

Thanks in advance 🙂
