Skip to content

Commit

Permalink
added rvm support + check for Virtualbox in veewee command
Browse files Browse the repository at this point in the history
  • Loading branch information
jedi4ever committed Feb 6, 2011
1 parent b7084c5 commit 3dcdd21
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .rvmrc
@@ -0,0 +1,2 @@
rvm use ruby-1.9.2
rvm gemset use veewee
10 changes: 9 additions & 1 deletion bin/veewee
Expand Up @@ -3,8 +3,10 @@
require 'rubygems'
require 'thor'
require 'bundler'
require 'virtualbox'
require 'veewee'


#Setup some base variables to use
veewee_dir= File.expand_path(File.join(File.dirname(__FILE__),".."))
definition_dir= File.expand_path(File.join(".", "definitions"))
Expand Down Expand Up @@ -65,4 +67,10 @@ class VeeweeCLI < Thor

end

VeeweeCLI.start
version=VirtualBox.version
if (version.match(/^4.x/))
VeeweeCLI.start
else
puts "veewee only supports VirtualBox 4.x"
end

7 changes: 0 additions & 7 deletions veewee.ENV

This file was deleted.

3 changes: 0 additions & 3 deletions veewee.rvm

This file was deleted.

0 comments on commit 3dcdd21

Please sign in to comment.