Skip to content

Instantly share code, notes, and snippets.

@maguec
Created October 5, 2011 04:37
Show Gist options
  • Save maguec/1263648 to your computer and use it in GitHub Desktop.
Save maguec/1263648 to your computer and use it in GitHub Desktop.
example gemspec file
version = File.read("VERSION").strip
Gem::Specification.new do |s|
s.name = 'deployable_application'
s.version = version
s.platform = Gem::Platform::RUBY
s.summary = "an example of a project that can be deployed"
s.description = "Make something that can run in production"
s.author = "Joe Developer"
s.email = "github@example.com"
s.homepage = "http://github.com"
s.files = Dir['README.md', 'VERSION', 'Gemfile', 'Rakefile', '{bin,lib,config,vendor}/**/*']
s.require_path = 'lib'
s.add_dependency('sinatra')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment