03 Mar '12, 10am

とりあえずこれを参考にgem公開する。 @railscastsさんから

begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "uniquify" gemspec.summary = "Generate a unique token with Active Record." gemspec.description = "Generate a unique token with Active Record." gemspec.email = "[email protected]" gemspec.homepage = "http://github.com/ryanb/uniquify" gemspec.authors = ["Ryan Bates"] end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: sudo gem install jeweler -s http://gemcutter.org" end

Full article: http://railscasts.com/episodes/183-gemcutter-jeweler

Tweets