Skip to content

Commit

Permalink
Rename cmd to ruby -- it makes more sense.
Browse files Browse the repository at this point in the history
  • Loading branch information
codahale authored and defunkt committed Jun 11, 2009
1 parent 98a791f commit 72d497f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/rip/commands/cmd.rb → lib/rip/commands/ruby.rb
@@ -1,8 +1,8 @@
module Rip
module Commands
o 'cmd ENV COMMAND'
x 'Runs a Ruby command in a particular environment.'
def cmd(options={}, *args)
o 'ruby ENV ARGS'
x 'Runs a Ruby instance in a particular environment.'
def ruby(options={}, *args)
selected_env = File.join(Rip.dir, ARGV.shift, "lib")
path = (ENV["RUBYLIB"] || "").split(":")
active_env = File.join(Rip.dir, "active", "lib")
Expand Down

0 comments on commit 72d497f

Please sign in to comment.