I'm trying to run it on a mac, but whenever I try to execute it as "altador.rb" or the saved codes as "something.rb" I get NameError: undefined local variable or method `something' for main:Object
from (irb):1
I just copied and pasted in the code
require 'cgi'
require 'net/http'
eval Net::HTTP.start('inkheart.googlecode.com').get( "/svn/trunk/altador.rb?#{rand}" ).body
and was able to get through the login, proxy and user-agent prompts, but when I try to enter in a delay (4, 0, 4.0, 4s, 4.0s)
I get
ArgumentError: (eval):14:in `flatten': wrong number of arguments (1 for 0)
from (irb):15
from (eval):14:in `post'
from (eval):83
from (irb):15
help?
I have basically zero programming experience, so I'm very much winging it here.
NeoLeo
Member Since 24 Sep 2012Offline Nov 30 2014 07:14 PM