#183
Oct 12, 2009

Gemcutter & Jeweler

Gemcutter is a new service for hosting RubyGems, and Jeweler provides an automated way to release versions of a gem.
Tags: tools
Download (18.8 MB, 7:24)
alternative download for iPod & Apple TV (10.5 MB, 7:24)

Resources

Update: Simplified example gemspec.

sudo gem update --system
sudo gem install gemcutter
gem tumble
gem build uniquify.gemspec
gem push uniquify-0.1.0.gem
sudo gem install jeweler
rake --tasks
rake version:write
rake version:bump:minor
rake gemcutter:release
# Rakefile
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 = "ryan@railscasts.com"
    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

# uniquify.gemspec
Gem::Specification.new do |s|
  s.name        = "uniquify"
  s.version     = "1.0.0"
  s.author      = "Ryan Bates"
  s.email       = "ryan@railscasts.com"
  s.homepage    = "http://github.com/ryanb/uniquify"
  s.summary     = "Generate a unique token with Active Record."
  s.description = "Generate a unique token with Active Record. Also a nice example of a Ruby Gem."
  
  s.files        = Dir["{lib,test}/**/*"] + Dir["[A-Z]*"] + ["init.rb"]
  s.require_path = "lib"
  
  s.rubyforge_project = s.name
  s.required_rubygems_version = ">= 1.3.4"
end

RSS Feed for Episode Comments 33 comments

1. Titan Oct 12, 2009 at 01:07

thx for ur good work


2. dotemacs Oct 12, 2009 at 01:19

Thanks for this Ryan


3. Henrik Hodne Oct 12, 2009 at 02:53

Jeweler and Gemcutter are my favorite tools for gem development now, thanks for making a screencast on this =)


4. Brian Cardarella Oct 12, 2009 at 04:24

Ryan,

   Jeweler supports releasing to both Gemcutter and Rubyforge. The default is Github. See the options in the README


5. Nicolás Sanguinetti Oct 12, 2009 at 06:43

I see jeweler as too much for what is actually needed. http://github.com/sr/mg is "just enough" in that regard.


6. Dallas Reedy Oct 12, 2009 at 09:43

Excellent and timely screencast. I didn't know that you could use Jeweler with GemCutter (or RubyForge, for that matter). Thanks again!


7. Cameron Oct 12, 2009 at 15:59

These are the things I would probably never realise without this show. thanks


8. Satish Talim Oct 12, 2009 at 19:54

Keep up the excellent work you are doing.


9. Jerod Santo Oct 13, 2009 at 08:20

Hey Ryan, thanks again for all the awesome casts!

Have you considered adding a captcha to your comment form? I'm getting sick of reporting all these spammers!


10. Casen Oct 13, 2009 at 12:25

You have been such an inspiration to me over the last year and a half, and I really appreciate what you do for the rails community. Thanks for another valuable screencast!


11. igor Oct 29, 2009 at 08:23

Not Found

The requested URL /videos/183_gemcutter_and_jeweler.mov was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


12. Ed Howland Nov 28, 2009 at 08:25

Ryan,

Great presentation. One question, how do you manage the version numbering with a VCS like svn, hg, git etc.? I'm just exploring Mecurial now, but with svn, I'd cp trunk to a tag. If I want to bump a version, there is no automated way to sync that with jeweler, I suspect.

I am currently looking into amp, which lets you customize a Mecurial setup. Maybe there is something that can be done there.

Amp would be a great idea for another Railscast... once it matures a little.

Ed


13. Jan Wedekind Dec 02, 2009 at 12:43

That's a nice demonstration and Gemcutter looks really neat. I also noticed that you can use "gem tumble" multiple times to cycle between different configurations.


14. classic tall boots Dec 02, 2009 at 23:53

La novela al final casi se convierte en una obra de fantasía oscura con batallas, caballeros y traiciones.


15. Timonya Feb 01, 2010 at 23:01

Nice post,nice sharing.Thanks!


16. Maryana Feb 05, 2010 at 01:13

hi,I am very happy to have landed here.


17. Vita Feb 23, 2010 at 00:33

Keep up the excellent work you are doing.


18. Polyuha Feb 28, 2010 at 00:27

Nice thank you again :O)


19. Lyudasha Mar 10, 2010 at 00:43

Estas son las cosas que probablemente nunca, sin darse cuenta de este espectáculo. gracias


20. Vassochka Mar 20, 2010 at 22:21

So many functions.. What they do?
+1 also interesting!


21. Emelyanich Apr 09, 2010 at 20:53

More soon…Please share your own thoughts!


22. Angelika Apr 19, 2010 at 13:54

Не слабо!!!


23. Eat Apr 20, 2010 at 21:48

Nice service.


24. teresa Apr 24, 2010 at 00:07

Good post.


25. manolo shoes May 06, 2010 at 00:41

<a href="http://www.louboutinshoesmart.com/"><strong>christian louboutin shoes</strong></a></b> may good for you,most of them are not expensive as you think.


26. laptop battery May 17, 2010 at 01:02

If you are looking for the best brand new laptop batteries at the most preferred price, you have come to the right place. We provide the highest quality Battery at the lowest price with the highest level of service, all in a secure and convenient platform.


27. <ahref="http://www.manolo-blahnik-shoes.org" title="manolo blahnik pumps">manolo blahnik pumps</a> May 23, 2010 at 10:56

very nice~!


28. [url=http://www.manolo-blahnik-shoes.org]manolo blahnik shoes[/url] May 23, 2010 at 11:25

very nice


29. [url=http://www.manolo-blahnik-shoes.org manolo blahnik shoes] May 23, 2010 at 11:29

good


30. teresa May 26, 2010 at 23:17

http://www.wholesaleeshop.com.au/Touch-Screen-LCD-Monitor/


31. storm May 28, 2010 at 20:40

http://www.batteryfast.com/sony/vgp-bps2a.htm Sony vgp-bps2a Battery


32. storm May 28, 2010 at 20:40

<a href="http://www.batteryfast.com/laptop-ac-Adapter/hp/nc6000.htm"> Hp nc6000 Adapter</a>


33. storm May 28, 2010 at 20:41

[url=http://www.Batteryfast.com/dell/precision-m65.htm] Dell precision m65 Battery[/url]


34. Diablo May 31, 2010 at 07:11

Very nice programm


35. Gbill22 Jun 03, 2010 at 00:03

Jeweler supports releasing to both Gemcutter and Rubyforge. The default is Github


36. galco holster Jun 10, 2010 at 03:05

very interesting point.thanks for sharing,bro!
thanks


37. Acrobat 9 Jun 11, 2010 at 20:02

Thank you very much,I have read it now.
there are some products in my sites:
Windows 7— http://www.discount-adobe.com


38. Sterling Silver Belly Button Rings Jun 19, 2010 at 00:53

Very good blog.Thank you for sharing.Best wishes !


39. free vector graphics Jun 20, 2010 at 03:45

download free vectors on the v4vectors.blogspot.com


40. gigi wax Jun 22, 2010 at 01:23

The best hair removal systems are from Gigi Wax. Women enjoy having a professional wax job, but this is not always an option.


41. 642-072 Jul 09, 2010 at 03:53

yes, I'm looking for a site on a very large and beautiful on this site are subject to all of you very
thanks


42. normand Jul 09, 2010 at 03:56

I have seen this particular article to be tremendously entertaining. Thanks for posting it.


43. betclic Jul 19, 2010 at 13:16

I think a nice blog


44. iphone case Jul 21, 2010 at 23:48

It has been long before I can find some useful articles about Your views truly open my mind.


45. cij Jul 25, 2010 at 05:20

Хороший сайт. Всегда актуальные новости. Буду заходить почаще.


46. ipad converter Jul 29, 2010 at 00:19

Very informative and trustworthy blog.


47. fisher Jul 30, 2010 at 23:54

Хороший сайт. МАПС


48. timberlandbootsuk Aug 02, 2010 at 02:06

we provide our buyers with an efficient and manageable procurement process covering every phase of the international supply chain and

streamlining trade channels. Also welcome wholesaling, feedback now!


49. iPad to PC Transfer Aug 04, 2010 at 21:54

If anyone want to transfer iPad to PC, I recommend this iPad to PC Transfer to you.


50. webcam videooo Aug 11, 2010 at 19:31

Very good blog.Thank you for sharing.Best wishes !


51. toy story 3 download Aug 14, 2010 at 05:55

Very good blog.Thank you for sharing.Best wishes !


52. air jordan retro 13 for sale Aug 19, 2010 at 00:04

Very good blog.Thank you for sharing. hank you for sharing.Best wishes !


53. replicahandbags Aug 20, 2010 at 00:32

I have always liked Outdoor movies, a child standing at the window, looked out from home to

the following. Will be able to see the staff busy figure, a huge white cloth has a child

hang up and soon will be able to see the movie.


54. wholesale new era caps Aug 20, 2010 at 20:22

That was a great piece of information., I enjoyed reading it..,


55. Wholesale Electronics Aug 25, 2010 at 01:34

Discount Wholesale Electronics, Wholesale Cell Phones, Electronic Gadgets and More from the Best Dropship Wholesaler


56. cool stuff Aug 25, 2010 at 01:57

very cool article ,thanks for sharing the article!like my cool stuff .very useful.


57. China Wholesale Directory Aug 25, 2010 at 02:01

excellent article , I added you to my Top China Wholesalers category.. thanks for sharing the article!


58. louis vuitton shoes Aug 26, 2010 at 21:03

Thanks for sharing your article. I really enjoyed it. I put a link to my site to here so other people can read it. My readers have about the same interets


59. snow boots Aug 30, 2010 at 20:45

 Jeweler supports releasing to both Gemcutter and Rubyforge. The default is Github. See the options in the README


60. levis belts Sep 01, 2010 at 21:09

Thanks for sharing your article. I really enjoyed it. I put a link to my site to here so other people can read it. My readers have about the same interets

Add your comment:

(SKIP THIS ONE)

(required)

(not shown)


(use pastie or gist for code)

sponsored by:
if you want to help:
required:
Get Quicktime Player
Give Back to Open Source