Xcode sets the env variable durin build time. So running this from a 'build 
phas script' (or whatever it is called) should work. However, if you just run 
this from the terminal it won't, as the env var isn't defined, so you should 
set it yourself.

HTH

On 19 jan. 2011, at 17:12, Michael Hagedorn <m...@silverchairsolutions.com> 
wrote:

> Has anyone had any luck using rspec and putting the objects under test in an 
> embedded framework?  When I try to do this and and put 
> "ENV['DYLD_FRAMEWORK_PATH'] = ENV['BUILT_PRODUCTS_DIR']" in the spec_helper 
> and then execute the rspec file via 'macruby blah_spec.rb', I get a 
> "framework not found" error.  The framework is in fact living in the build 
> directory as expected.
> 
> Can anyone tell me what I am missing?
> 
> Thanks
> 
> Mike Hagedorn
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to