Arvind Raj wrote: >> Initially, I got an error on the first require statement and determined >> that the reason was because the RUBYOPT environment variable was not set >> to -rubygems, as it is on my own machine. >> >> After ensuring that option was specified, I then got an error on the >> second require statement and determined that the reason was because the >> GEM_PATH environment variable was not set to my local (i.e. second) >> respository. >> >> After ensuring that environment variable was set, I no longer got an >> error, but I also didn't get any output from the print statement >> following the two requires. >> > > > You said you didnt have access to shell, how did you set these > variables? Did you send in a request of something? I switched to having the Cron job I mentioned above run a shell script which sets the variables and then runs the Ruby script. In case that wasn't clear, I do have access to the shell through Cron jobs set up via CPanel - it's an interactive terminal on the server I don't have access to. -- Posted via http://www.ruby-forum.com/.