Permalink
Browse files

add post install message

  • Loading branch information...
1 parent d11d026 commit 128c33a0f42a73c646ac72a351eb41ff07f1fec4 @dchelimsky dchelimsky committed Feb 21, 2010
Showing with 21 additions and 2 deletions.
  1. +11 −2 Rakefile
  2. +10 −0 rspec.gemspec
View
@@ -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
View
@@ -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}

0 comments on commit 128c33a

Please sign in to comment.