Commit adf1eef6 by Scott Taylor

Remove require 'rubygems', gem calls (they make the gem unusable outside of…

Remove require 'rubygems', gem calls (they make the gem unusable outside of rubygems - rubygems should be in RUBY_OPT)
parent 02f07cef
require 'rubygems'
require 'rake'
require 'lib/annotate'
......@@ -17,15 +16,15 @@ begin
gem.authors = ['Cuong Tran', "Alex Chaffee", "Marcos Piccinini"]
gem.files = FileList["[A-Z]*.*", "{bin,lib,tasks,spec}/**/*"]
gem.rubyforge_project = "annotate"
# note that Jeweler automatically reads the version from VERSION.yml
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::RubyforgeTasks.new do |rubyforge|
rubyforge.doc_task = "rdoc"
end
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
......
require File.dirname(__FILE__) + '/../spec_helper.rb'
require 'annotate/annotate_models'
require 'rubygems'
require 'activesupport'
require 'fakefs/spec_helpers'
......
begin
require 'spec'
rescue LoadError
require 'rubygems'
gem 'rspec'
require 'spec'
end
require 'spec'
$:.unshift(File.dirname(__FILE__) + '/../lib')
require 'annotate'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment