Permalink
Browse files

Remove binstubs from Git.

Because we list the files to package in this Gem by shelling out to Git,
including all files that are in Git, we want to exclude our binstubs. If
we don't those binstubs get packaged with our gem, and so if you install
the gem, our binstubs end up on your PATH. OOPS!

An alternative would be to change how we list the "files" in our
.gemspec to make sure our binstubs are excluded. Maybe later...
  • Loading branch information...
stevenharman committed Apr 1, 2014
1 parent 2c76847 commit c65f7b9ee04a1e7602fb5b05b65c5709b06f4d62
Showing with 8 additions and 32 deletions.
  1. +3 −0 .gitignore
  2. +5 −0 CHANGELOG.md
  3. +0 −16 bin/autospec
  4. +0 −16 bin/rspec
View
@@ -3,6 +3,9 @@
.ruby-version
Gemfile.lock
coverage
+bin/autospec
+bin/rspec
+bin/rake
doc/
lib/bundler/man
/git-tracker
View
@@ -1,7 +1,12 @@
### dev
[full changelog](https://github.com/stevenharman/git_tracker/compare/v1.6.2...master)
+### 1.6.3 / 2014-03-31
+[full changelog](https://github.com/stevenharman/git_tracker/compare/v1.6.2...v1.6.3)
+Bug Fixes
+
+* Removew binstubs from packaged gem. Oops!
### 1.6.2 / 2014-03-26
[full changelog](https://github.com/stevenharman/git_tracker/compare/v1.6.1...v1.6.2)
View
@@ -1,16 +0,0 @@
-#!/usr/bin/env ruby
-#
-# This file was generated by Bundler.
-#
-# The application 'autospec' is installed as part of a gem, and
-# this file is here to facilitate running it.
-#
-
-require 'pathname'
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
- Pathname.new(__FILE__).realpath)
-
-require 'rubygems'
-require 'bundler/setup'
-
-load Gem.bin_path('rspec-core', 'autospec')
View
@@ -1,16 +0,0 @@
-#!/usr/bin/env ruby
-#
-# This file was generated by Bundler.
-#
-# The application 'rspec' is installed as part of a gem, and
-# this file is here to facilitate running it.
-#
-
-require 'pathname'
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
- Pathname.new(__FILE__).realpath)
-
-require 'rubygems'
-require 'bundler/setup'
-
-load Gem.bin_path('rspec-core', 'rspec')

0 comments on commit c65f7b9

Please sign in to comment.