Howdy, I'm adding support for merb+datamapper to railroad and hit an issue I'm not sure how to handle.
Within the gem, I attempt to use the merb environment using the standard: require 'merb-core' Merb.start_environment(:testing => true, :adapter => 'runner', :environment => ENV['MERB_ENV'] || 'test') The problem is if this gem is installed into the application's environment: thor merb:gem:install railroad then the require 'merb-core' fails. A work-around is to add the above code to the generated bin/railroad script before the: # use gems dir if ../gems exists - eg. only for ./bin/railroad So what I'm wondering is, is there a correct way to access the system gem repository from an installed application gem or is this just a bum scenario, i.e., don't install tools into application? TIA, Roy --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
