The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
The Coast is Clear to Vocally Praise RubyGems

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Red Handed

Posts: 1158
Nickname: redhanded
Registered: Dec, 2004

Red Handed is a Ruby-focused group blog.
The Coast is Clear to Vocally Praise RubyGems Posted: Aug 24, 2005 9:37 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Red Handed.
Original Post: The Coast is Clear to Vocally Praise RubyGems
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded

Advertisement

For awhile, the Ruby packaging playing field was utterly undecided. Can you imagine that just summer-before-last your only real option was to use raa-install, which was great, but sort of depended on the right install scripts and proper URLs in the RAA. It was a cool hack, thankyou Patrick May.

RubyGems is excellent and has been a huge boost to the proliferation of libraries. It’s features are impressive. Here is what I mean.

Getting library versions with introspection. I’m not sure why loaded_specs is hidden.

 require 'rubygems'
 require 'builder'

 class << Gem; attr_accessor :loaded_specs; end
 Gem.loaded_specs['builder'].version

 # Other metadata, of course...
 Gem.loaded_specs['builder'].description

Serving up all your system’s gems. And documentation for all of them, which we love already. But if you want to check your remote machines to see what’s installed…

On the server: gem_server.

On the client: gem list -r --source http://that.machine:8808.

Searching gems. I have a tendency to pipe the gem list through grep when I’m searching. Here are commands for gem’s own built-in search.

Short: gem q -r -n webdav.

Or completely: gem query --remote --name-matches webdav.

Read: The Coast is Clear to Vocally Praise RubyGems

Topic: SAP on Rails Previous Topic   Next Topic Topic: Flickr&rsquo;s Yahoo! is now showing even more

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use