Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Creating a Gem

Creating a Gem

Jeff Felchner

March 22, 2013
Tweet

More Decks by Jeff Felchner

Other Decks in Technology

Transcript

  1. rspectacular null_and_void bangers_and_hash envision dolla_dolla_bill stipend use_the_forcible referehencible molten_core dynamo

    johnny_five i_am_valid oscillator chronological greenwich get_together enwrap pinpoint chicken_soup apple_cart ruby-progressbar
  2. Hoe

  3. create pope_francis/Gemfile create pope_francis/Rakefile create pope_francis/LICENSE.txt create pope_francis/README.md create pope_francis/.gitignore

    create pope_francis/pope_francis.gemspec create pope_francis/lib/pope_francis.rb create pope_francis/lib/pope_francis/version.rb
  4. create pope_francis/Gemfile create pope_francis/Rakefile create pope_francis/LICENSE.txt create pope_francis/README.md create pope_francis/.gitignore

    create pope_francis/pope_francis.gemspec create pope_francis/lib/pope_francis.rb create pope_francis/lib/pope_francis/version.rb
  5. Gem::Specification.new do |gem| gem.name = "pope_francis" gem.version = PopeFrancis::VERSION gem.authors

    = ["Jeff Felchner"] gem.email = ["[email protected]"] gem.description = %q{TODO: Write a gem description} gem.summary = %q{TODO: Write a gem summary} gem.homepage = "" end
  6. Gem::Specification.new do |gem| gem.name = "pope_francis" gem.version = PopeFrancis::VERSION gem.authors

    = ["Jeff Felchner"] gem.email = ["[email protected]"] gem.description = %q{ig-pay atin-lay anslator-tray} gem.summary = %q{The one-stop shop for your Pig Latin needs} gem.homepage = "http://github.com/jfelchner/pope_francis" end
  7. pope_francis 0.0.1 built to pkg/ pope_francis-0.0.1.gem Tagged v0.0.1 Pushed git

    commits and tags Pushed pope_francis 0.0.1 to rubygems.org
  8. > gem push pkg/pope_francis-0.0.1.gem Pushing gem to https://rubygems.org... Repushing of

    gem versions is not allowed. Please use `gem yank` to remove bad gem releases.
  9. > gem install gemcutter > gem yank pope_francis -v 0.0.1

    Yanking gem from RubyGems.org... Pushing gem to https://rubygems.org... Successfully yanked gem: pope_francis (0.0.1)
  10. > gem install pope_francis ERROR: Could not find a valid

    gem 'pope_francis' (>= 0) in any repository ERROR: Possible alternatives: francis, tolerances