Creating a Gem

Creating a Gem

C756ca1b50655ad7eb1fe4ce06b789b3?s=128

Jeff Felchner

March 22, 2013
Tweet

Transcript

  1. 2.
  2. 4.
  3. 8.
  4. 13.
  5. 15.
  6. 21.
  7. 22.
  8. 24.

    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
  9. 26.
  10. 28.
  11. 30.
  12. 31.

    Hoe

  13. 32.
  14. 35.

    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
  15. 36.

    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
  16. 37.

    Gem::Specification.new do |gem| gem.name = "pope_francis" gem.version = PopeFrancis::VERSION gem.authors

    = ["Jeff Felchner"] gem.email = ["accounts+git@thekompanee.com"] gem.description = %q{TODO: Write a gem description} gem.summary = %q{TODO: Write a gem summary} gem.homepage = "" end
  17. 38.

    Gem::Specification.new do |gem| gem.name = "pope_francis" gem.version = PopeFrancis::VERSION gem.authors

    = ["Jeff Felchner"] gem.email = ["accounts+git@thekompanee.com"] 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
  18. 41.
  19. 43.
  20. 45.

    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
  21. 46.
  22. 54.

    > 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.
  23. 56.

    > 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)
  24. 57.
  25. 58.

    > gem install pope_francis ERROR: Could not find a valid

    gem 'pope_francis' (>= 0) in any repository ERROR: Possible alternatives: francis, tolerances
  26. 63.
  27. 79.
  28. 81.
  29. 84.
  30. 85.