diff --git a/Rakefile b/Rakefile index 4e91cd48..c7fe7412 100644 --- a/Rakefile +++ b/Rakefile @@ -22,9 +22,18 @@ begin gem.add_dependency "rspec-core", ">= #{Rspec::Version::STRING}" gem.add_dependency "rspec-expectations", ">= #{Rspec::Version::STRING}" gem.add_dependency "rspec-mocks", ">= #{Rspec::Version::STRING}" - # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings + gem.post_install_message = <<-EOM +#{"*"*50} + + Thank you for installing #{gem.summary} + + The 'a' in #{gem.version} means this is alpha software. + If you are looking for a supported production release, + please "gem install rspec" (without --pre). + +#{"*"*50} +EOM end - Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" end diff --git a/rspec.gemspec b/rspec.gemspec index c834ed16..af10203c 100644 --- a/rspec.gemspec +++ b/rspec.gemspec @@ -27,6 +27,16 @@ Gem::Specification.new do |s| "rspec.gemspec" ] s.homepage = %q{http://github.com/rspec/meta} + s.post_install_message = %q{************************************************** + + Thank you for installing rspec-2.0.0.a7 + + The 'a' in 2.0.0.a7 means this is alpha software. + If you are looking for a supported production release, + please "gem install rspec" (without --pre). + +************************************************** +} s.rdoc_options = ["--charset=UTF-8"] s.require_paths = ["lib"] s.rubyforge_project = %q{rspec}