Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (28 sloc) 1.05 KB
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "jruby-memcache-client"
gemspec.summary = "A drop in replacement for Ruby's memcache-client."
gemspec.email = "fred@fredjean.net"
gemspec.homepage = "http://github.com/ikai/jruby-memcache-client"
gemspec.description = "A drop in replacement for Ruby's memcache-client."
gemspec.authors = ["Abhi Yerra", "Ikai Lan", "Frederic Jean",
"Lennon Day-Reynolds","slyphon", "Brayn Helmkamp",
"Travis Tilley", "Sudhindra Rao"]
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
if RUBY_PLATFORM =~ /java/i
begin
require 'rspec/core/rake_task'
task :default => :spec
desc "Run the specs for the jruby-memcache-client gem"
RSpec::Core::RakeTask.new(:spec)
rescue LoadError
require 'pry'; binding.pry
puts "You must have rspec installed in order to run the tests."
end
else
puts "You must run rake under JRuby."
end