<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -12,6 +12,10 @@ module Rip
       if env.strip.empty?
         return &quot;must give a ripenv to create&quot;
       end
+      
+      if env.strip =~ /^active$/i
+        return &quot;invalid environment name&quot;
+      end
 
       if File.exists? dir
         &quot;#{env} exists&quot;</diff>
      <filename>lib/rip/env.rb</filename>
    </modified>
    <modified>
      <diff>@@ -35,6 +35,10 @@ context &quot;Creating a ripenv&quot; do
     assert_equal 'must give a ripenv to create', Rip::Env.create(&quot;\t&quot;)
     assert_equal 'must give a ripenv to create', Rip::Env.create(&quot;\t &quot;)
   end
+  
+  test 'fails if attempt to name env active' do
+    assert_equal 'invalid environment name', Rip::Env.create('active')
+  end
 end
 
 context &quot;Using a ripenv&quot; do</diff>
      <filename>test/env_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>44e7ecc8971097af1bf2189f3a9c59abcdba53e7</id>
    </parent>
  </parents>
  <author>
    <name>Mark Turner</name>
    <email>mark@amerine.net</email>
  </author>
  <url>http://github.com/Pistos/rip/commit/a7558b4d2717b6c66e0861f42564d1c3e18613f5</url>
  <id>a7558b4d2717b6c66e0861f42564d1c3e18613f5</id>
  <committed-date>2009-06-13T23:38:00-07:00</committed-date>
  <authored-date>2009-06-13T01:25:41-07:00</authored-date>
  <message>We can't have people naming their env's 'active'. It creates a self
referencing symlink that breaks things.

Signed-off-by: Chris Wanstrath &lt;chris@ozmm.org&gt;</message>
  <tree>ad5c79e2871a404347248ebc8b6890cc1c6d41a5</tree>
  <committer>
    <name>Chris Wanstrath</name>
    <email>chris@ozmm.org</email>
  </committer>
</commit>
