Skip to content

Commit 83c8919

Browse files
committed
Fix dependencies for Ruby 1.8 compatibility
1 parent a3c3697 commit 83c8919

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bin/git-tail

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env ruby
22
lib_dir = File.expand_path('../../lib', __FILE__)
33
$LOAD_PATH.unshift(lib_dir) unless $LOAD_PATH.include?(lib_dir)
4+
require 'rubygems'
45
require 'trollop'
56
require 'git/tail'
67

git-tail.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ Gem::Specification.new do |spec|
3131
spec.add_development_dependency "rake"
3232

3333
spec.add_runtime_dependency "trollop", "~> 2.0"
34-
spec.add_runtime_dependency "rainbow", "~> 2.0"
34+
spec.add_runtime_dependency "rainbow", "~> 1.99"
3535
spec.add_runtime_dependency "childprocess", "~> 0.5.2"
3636
end

0 commit comments

Comments
 (0)