Moved my ruby project to a server and tried running it, but I get this
test.rb:1:in `require’: no such file to load – Net/HTTP (LoadError)
It persists even if I try running a file that has nothing but ‘require
“Net/HTTP”’ in it so I assume it’s not a problem with the rest of my
Tried taking the http.rb file from the source and running that. Got a
bunch of syntax errors.
Also tried reinstalling ruby, no effect. What am I doing wrong? The
thing runs perfectly on my home PC, but not on the server. Which is
running ubuntu 10.04, in case that matters.