From: "Ajith N." Date: 2012-05-14T19:38:03+09:00 Subject: Re: ispunity Little probs Arun Tomar wrote in post #1060604: > Hi! > > Certainly we'll help you and anyone who's trying to use ISPunity and > facing any issue. > I'm assuming that if you've followed the steps, you would have installed > rvm and ruby 1.9.3 but ubuntu comes with ruby 1.8.7. what you need to do > is to make your system use ruby 1.9.3 rather than the system default i.e > 1.8.7. > > You can do that by the following command. > > rvm use 1.9.3 --default > > after that install the gem > > gem install ispunity > > create the config file as per your network . > > then run > ispunity setup > > and put the following command in your cron settings to run after every 5 > mins, so that it'll check for the dead gateways and automatically > failover. > ispunity monitor > > We'll be updating the documentation soon for the cron settings. > > Feel free to mail us. We are here to resolve any problems and improve > the app based on the feedback. Hi Sir, I have done it as per ur instructions, and my current ruby version is 1.9.3 but it still gives the same output as follows. Pls help thanks. nanthiyadan@nanthiyadan-System-Product-Name:~$ sudo su [sudo] password for nanthiyadan: root@nanthiyadan-System-Product-Name:/home/nanthiyadan# rvm use 1.9.3 --default Using /usr/local/rvm/gems/ruby-1.9.3-p194 > root@nanthiyadan-System-Product-Name:/home/nanthiyadan# rvm current > ruby-1.9.3-p194 root@nanthiyadan-System-Product-Name:/home/nanthiyadan# ispunity /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': /var/lib/gems/1.8/gems/ispunity-0.0.4/lib/system_call.rb:22: undefined (?...) sequence: /inet addr:(?(\d+[.]){3}\d+)/ (SyntaxError) from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require' from /var/lib/gems/1.8/gems/ispunity-0.0.4/lib/isp_unity.rb:7 from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require' from /var/lib/gems/1.8/gems/ispunity-0.0.4/bin/ispunity:4 from /usr/local/bin/ispunity:19:in `load' from /usr/local/bin/ispunity:19 root@nanthiyadan-System-Product-Name:/home/nanthiyadan# -- Posted via http://www.ruby-forum.com/.