mirror of
https://github.com/rspec/rspec-metagem.git
synced 2022-11-09 12:09:29 -05:00
remove obsolete guard against building gems in ruby 1.9.3
This commit is contained in:
parent
83bb6128eb
commit
c4c9d9808a
1 changed files with 0 additions and 14 deletions
14
Rakefile
14
Rakefile
|
@ -2,20 +2,6 @@ require "bundler"
|
|||
Bundler.setup
|
||||
Bundler::GemHelper.install_tasks
|
||||
|
||||
task :build => :raise_if_psych_is_defined
|
||||
|
||||
task :raise_if_psych_is_defined do
|
||||
if defined?(Psych)
|
||||
raise <<-MSG
|
||||
===============================================================================
|
||||
Gems compiled in Ruby environments with Psych loaded are incompatible with Ruby
|
||||
environments that don't have Psych loaded. Try building this gem in Ruby 1.8.7
|
||||
instead.
|
||||
===============================================================================
|
||||
MSG
|
||||
end
|
||||
end
|
||||
|
||||
require 'rake'
|
||||
require 'fileutils'
|
||||
require 'pathname'
|
||||
|
|
Loading…
Add table
Reference in a new issue