Gabriel Dragffy
10/3/2007 10:32:00 AM
On 1 Oct 2007, at 17:45, Matt White wrote:
> On Oct 1, 9:50 am, Gabriel Dragffy <g...@dragffy.com> wrote:
>> On 1 Oct 2007, at 16:10, Matt White wrote:
>>
>>
>>
>>> Are you using a complete URI or just part of one? For example,
>>> 'domain.com' is not a URI. Further:
>>
>>> [root@server15 mwhite]# ruby -r uri -e 'p
>>> URI.parse("google.com").host'
>>> nil
>>> [root@server15 mwhite]# ruby -r uri -e 'p URI.parse("http://
>>> google.com").host'
>>> "google.com"
>>
>>> If that's not the problem, maybe you could give us some code? Good
>>> luck!
>>
>> Oh thank you so much, you spotted that one a million miles off, I
>> missed out the http://. Have corrected this but now getting errors
>> like:
>> /test_website.rb:13:in `test': uninitialized constant
>> TestWebsite::NET (NameError)
>> MMM something to keep my mind ticking over.
>>
>> Many thanks
>>
>> Gabriel
>
> No problem. If you need more help, be sure to give us the code that is
> causing the error and not just the error.
>
>
Thanks, Matt!