# Ruby and ClearCase

**URL:** <https://www.ruby-forum.com/t/ruby-and-clearcase/65913>\
**Category:** Ruby\
**Created:** [August 22, 2006, 11:09am UTC](https://www.ruby-forum.com/t/ruby-and-clearcase/65913 "2006-08-22T11:09:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CameronS\_Gemma\_SUK](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/45deac/32.png) [@CameronS\_Gemma\_SUK](https://www.ruby-forum.com/u/CameronS_Gemma_SUK)\
**Post date:** [August 22, 2006, 11:09am UTC](https://www.ruby-forum.com/t/ruby-and-clearcase/65913/1 "2006-08-22T11:09:31Z")

</div>

Hi Guys,

Has anyone used Ruby (or Rake) to interface with cleartool or Rational  
ClearCase? I googled the problem and found the following project at  
rubyforge which looks promising… or at least would be if there were  
any released files (or am I missing reference to a gem somewhere?)

[http://rubyforge.org/projects/basketcase/](http://rubyforge.org/projects/basketcase/)

What I’m wanting to do is to parse the output from cleartool after I’ve  
updated a snapshot in order to zip up the new files it’s loaded (seeing  
as ClearCase insists on retaining the entire directory structure when  
you load folders - I’m used to svn…).

If not are there any suggestions as to how I could go about this or  
should I just use ruby as a means to sending commands to the shell  
(system “cleartool -mkview…”) followed by somesort of STDIN/OUT? I’m  
on Windows NT4 and ClearCase 3.2 by the way…

Thanks in advance!

Gem

Regards

Gemma Cameron

* * *

This email and any attachments are confidential to the intended  
recipient and may also be privileged. If you are not the intended  
recipient please delete it from your system and notify the sender.  
You should not copy it or use it for any purpose nor disclose or  
distribute its contents to any other person.

* * *
