Skip to content

Instantly share code, notes, and snippets.

@danielpetisme
Created September 18, 2013 16:54
Show Gist options
  • Save danielpetisme/6612091 to your computer and use it in GitHub Desktop.
Save danielpetisme/6612091 to your computer and use it in GitHub Desktop.
Veewee installer
#Required packages
yum -y install gcc libxml2 libxml2-devel libxslt libxslt-devel libvirt libvirt-devel
#RVM - Ruby Version Manager
\curl -L https://get.rvm.io | bash -s stable
source /etc/profile.d/rvm.sh
#Install 1.9.3
rvm install 1.9.3
#Config for rubygems
cat >> /root/.gemrc << EOM
:ssl_verify_mode: 0
:backtrace: false
:benchmark: false
:bulk_threshold: 1000
:sources:
- https://gems.rubyforge.org/
:update_sources: true
:verbose: true
install: --no-rdoc --no-ri
update: --no-rdoc --no-ri
EOM
rvm use ruby-1.9.3
#dependencies manager
gem install bundler
#Installing veewee
git clone https://github.com/jedi4ever/veewee.git
cd veewee
#Build (ie. download all gems) wihtou windows stuff and enabling kvm
bundle install --without windows restrictions
install it on the system
rake install
cd ..
rm -rf veewee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment