I have three volumes on my computer all with the same identical copy
of this script
https://gist.github.com/c8f0ed9961a93c30b7ec

/Volumes/Data Drive
/Volumes/Boot Drive
/Volumes/Drobo

on my boot drive, the script works great
on my Drobo, the script also works great

however on the Data Drive, I get a bad URi error. I am expecting this
is because it's not my boot volume and it has a space in the name (why
else would it work on the Drobo, and the Boot Drive?)

Here is the output of spec_paths
spec/PlayerSpec.js
spec/SliderSpec.js
spec/SpecHelper.js

and here is the error I get for the URi
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/uri/generic.rb:475:in `check_path': bad component(expected
absolute path component): /Volumes/Data Drive/Slider/spec/
PlayerSpec.js (URI::InvalidComponentError)

from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/uri/generic.rb:495:in `path='
        from /Users/jcontonio/.gem/ruby/1.8/gems/envjs-0.3.7/lib/envjs/
runtime.rb:173:in `extended'
        from /Library/Ruby/Gems/1.8/gems/johnson-2.0.0.pre3/lib/johnson/
tracemonkey/js_land_proxy.rb:16:in `call'
        from /Library/Ruby/Gems/1.8/gems/johnson-2.0.0.pre3/lib/johnson/
tracemonkey/js_land_proxy.rb:16:in `__send__'
        from /Library/Ruby/Gems/1.8/gems/johnson-2.0.0.pre3/lib/johnson/
tracemonkey/js_land_proxy.rb:16:in `send_with_possible_block'
        from /Library/Ruby/Gems/1.8/gems/johnson-2.0.0.pre3/lib/johnson/
ruby_land_proxy.rb:110:in `call_function_property'
        from /Users/jcontonio/.gem/ruby/1.8/gems/envjs-0.3.7/lib/envjs/env.js:
105 [JavaScript]
        from /Library/Ruby/Gems/1.8/gems/johnson-2.0.0.pre3/lib/johnson/
ruby_land_proxy.rb:110:in `method_missing'
        from /Users/jcontonio/.gem/ruby/1.8/gems/harmony-0.5.6/lib/harmony/
page.rb:76:in `load'
        from /Users/jcontonio/.gem/ruby/1.8/gems/harmony-0.5.6/lib/harmony/
page.rb:75:in `each'
        from /Users/jcontonio/.gem/ruby/1.8/gems/harmony-0.5.6/lib/harmony/
page.rb:75:in `load'
        from /Library/Ruby/Gems/1.8/gems/jazz_money-0.0.5/lib/jazz_money/
jasmine_runner.rb:75:in `load_js_includes'
        from /Library/Ruby/Gems/1.8/gems/jazz_money-0.0.5/lib/jazz_money/
jasmine_runner.rb:74:in `each'
        from /Library/Ruby/Gems/1.8/gems/jazz_money-0.0.5/lib/jazz_money/
jasmine_runner.rb:74:in `load_js_includes'
        from /Library/Ruby/Gems/1.8/gems/jazz_money-0.0.5/lib/jazz_money/
jasmine_runner.rb:35:in `start'
        from /Library/Ruby/Gems/1.8/gems/jazz_money-0.0.5/lib/jazz_money/
runner.rb:28:in `call'
        from lib/run_specs.rb:25

Can anyone help me figure out how to solve this problem? I cannot
rename the Data Drive, I have way too many aliases pointing to it
since my Dropbox lives there.

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to