Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Gem Feature Request
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jim Freeze  
View profile  
 More options Mar 11 2005, 10:10 pm
Newsgroups: comp.lang.ruby
From: Jim Freeze <j...@freeze.org>
Date: Sat, 12 Mar 2005 12:10:43 +0900
Local: Fri, Mar 11 2005 10:10 pm
Subject: Gem Feature Request
Rubygems is cool.
I like the versioning of libraries, but I
particularly like the versioning of applications.
For example:

  $ gem list --local rake

  *** LOCAL GEMS ***

  rake (0.4.15, 0.4.14, 0.4.13)
      Ruby based make-like utility.

  $ rake --version
  rake, version 0.4.15
  $ rake _0.4.13_ --version
  rake, version 0.4.13

This 'coolness' needs one added feature to
make it complete. That is the ability to
specify an app version in some way other than
the command line.

This need arises most often when I am calling
an app from a script and I want to test the
result with different versions of the app.
For example:

===some complicated script===
  ...
  xyz_app # one of many app calls inside the script
  ...
===end some complicated script===

Let's suppose I am testing revision 1 and 2 of xyz_app.
I can see two ways that an end user could control which
app is called. 1) environment variable and 2) resource file.

1)
   setenv RUBYGEMS_USE_APP_VERSION_xyz_app 1
   ...run script # equivalent to xyz_app _1_
   setenv RUBYGEMS_USE_APP_VERSION_xyz_app 2
   ...run script # equivalent to xyz_app _2_

or)
   app_versions:
     xyz_app: 1
     rake: 0.4.13

   Sorry, I don't know what a .gemrc file looks like
   but you get the idea.

So, what do you think?

--
Jim Freeze
Code Red. Code Ruby


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google