Hello, Alright, perhaps I am missing something obvious, but I don't understand why I can't seem to load frozen gems. I am using ./bin/merb. ./gems/ is in my load path, but I still get errors about not having the gems available, even tho they are there. Am I missing something? below are a few commands to illustrate the problem: <code> [EMAIL PROTECTED]:~/WebApps/appname/releases/20081025085933$ ./bin/merb Loading init file from /home/fairchild/WebApps/appname/releases/20081025085933/config/init.rb Loading /home/fairchild/WebApps/appname/releases/20081025085933/config/environments/development.rb ~ Loaded DEVELOPMENT Environment... ~ ~ FATAL: The gem merb-slices (= 0.9.9), [] was not found ~ ~ ~ FATAL: The file merb-slices was not found ~
[EMAIL PROTECTED]:~/WebApps/appname/releases/20081025085933$ ls gems/gems/merb-slices-0.9.9/lib/ generators merb-slices merb-slices.rb </code> Thanks, ~Michael On Mon, Oct 20, 2008 at 7:42 PM, fairchild <[EMAIL PROTECTED]>wrote: > > My brain must be getting mushy. I just needed to use > ./bin/merb > > I coulda swore I tried that! oh well. > > I am still curious tho, how would I add a load_path? > ~Michael > > On Oct 20, 6:51 pm, fairchild <[EMAIL PROTECTED]> wrote: > > I have spent way too much time trying to figure out how to do what I > > thought was the default behavior, loading required gems from Merb.root > > +/gems/gems/ > > I can't seem to get the frozen gems to load, short of requiring them > > by full path. > > > > For instance: > > > > abbot([EMAIL PROTECTED]) :~/WebApps/lightsheet2 > > > ls gems/gems/httparty-0.1.3/lib/ > > httparty/ httparty.rb > > > > abbot([EMAIL PROTECTED]) :~/WebApps/lightsheet2 > > > merb -i > > Warning: please use bin/merb to load merb-core-0.9.9 from ./gems > > Loading init file from /home/fairchild/WebApps/lightsheet2/config/ > > init.rb > > Loading /home/fairchild/WebApps/lightsheet2/config/environments/ > > development.rb > > ~ Loaded DEVELOPMENT Environment... > > ~ > > ~ FATAL: The gem httparty (>= 0), [] was not found > > ~ > > ~ > > ~ FATAL: The file httparty was not found > > > > abbot([EMAIL PROTECTED]) :~/WebApps/lightsheet2 > > > cat config/dependencies.rb |grep http > > dependency 'httparty' > > > > I have tried putting > > puts $LOAD_PATH > > at the top of my dependencies.rb file just to check, and none of my > > frozen gem paths show up. I must be missing something obvious? > > > > dependency 'httparty' > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en -~----------~----~----~----~------~----~------~--~---
