require 'rake' begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "em-websocket" gemspec.summary = "EventMachine based WebSocket server" gemspec.description = gemspec.summary gemspec.email = "ilya@igvita.com" gemspec.homepage = "http://github.com/igrigorik/em-websocket" gemspec.authors = ["Ilya Grigorik"] gemspec.add_dependency("eventmachine", ">= 0.12.9") gemspec.add_dependency("addressable") gemspec.rubyforge_project = "em-websocket" end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" end