Advertisement
iarmin

rExecutor install

May 13th, 2011
357
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.49 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. aptitude -y update
  4. aptitude -y install ruby ruby-dev irb rdoc make gcc tofrodos unix2dos wget
  5. wget http://rubyforge.org/frs/download.php/74849/rubygems-1.8.2.tgz
  6. tar -xf rubygems-1.8.2.tgz
  7. cd rubygems-1.8.2
  8. ruby setup.rb
  9. cd ..
  10. rm -rf rubygems-1.8.2
  11. ln -s /usr/bin/gem1.8 /usr/bin/gem
  12. gem update --system
  13. gem update
  14. gem install SystemTimer json
  15.  
  16. wget "http://pastebin.com/raw.php?i=N7PMe1Xn" -O rexecutor.rb
  17. dos2unix rexecutor.rb
  18.  
  19. echo
  20. echo
  21. echo "Use as: ruby rexecutor.rb"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement