Frederick Cheung wrote: > On Oct 4, 8:40�pm, Morgan Morgan <[email protected]> > wrote: >> i don't get what is going on here. � if i run the restclient command >> that starts an irb with restclient it works fine but when i try to load >> it from environment.rb with require 'rest_client' �this is what i get... >> it's driving me batty. >> > > Don't know restClient, but random guess: your upload controller is > requiring a file that requires a gem to be loading and you are > requiring that gem at the bottom of environment.rb (or at least after > the Initializer block) > > Fred
i figured it out. i was orignally loading it in another abandoned controller which i finally got around to deleting and everything is kosher now. apparently i misnamed the gem in the require statment in the other controller as well. so it was just (clean up after yourself dumbass) error. thanks again. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

