Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Merge to file on different drive causes error

#16

Hi,

I've run into a small problem when merging my files into a file on a different drive. The process finishes successfully, but it throws an error at the end. I've copied the entire command that I used below:

D:\Scripts\Google-Bump>juicer merge main.js -s -f -o %appdata%\Mozilla\Firefox\Profiles\eyo2kaec.default\gm_scripts\google_bump\google_bump.user.js
C:/Ruby19/lib/ruby/gems/1.9.1/gems/juicer-1.0.3/lib/juicer.rb:61: warning: nested repeat operator + and ? was replaced with '*'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/juicer-1.0.3/lib/juicer.rb:61: warning: nested repeat operator + and ? was replaced with '*'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/juicer-1.0.3/lib/juicer.rb:61: warning: nested repeat operator + and ? was replaced with '*'
C:/Ruby19/lib/ruby/gems/1.9.1/gems/juicer-1.0.3/lib/juicer.rb:61: warning: nested repeat operator + and ? was replaced with '*'
Unable to access jarfile
C:/Ruby19/lib/ruby/1.9.1/pathname.rb:742:in `relative_path_from': different prefix: "C:/" and "D:/Scripts/Google-Bump" (ArgumentError)
        from C:/Ruby19/lib/ruby/gems/1.9.1/gems/juicer-1.0.3/lib/juicer/command/util.rb:24:in `block in relative'
        from C:/Ruby19/lib/ruby/gems/1.9.1/gems/juicer-1.0.3/lib/juicer/command/util.rb:21:in `collect'
        from C:/Ruby19/lib/ruby/gems/1.9.1/gems/juicer-1.0.3/lib/juicer/command/util.rb:21:in `relative'
        from C:/Ruby19/lib/ruby/gems/1.9.1/gems/juicer-1.0.3/lib/juicer/command/merge.rb:126:in `execute'
        from C:/Ruby19/lib/ruby/gems/1.9.1/gems/cmdparse-2.0.2/lib/cmdparse.rb:438:in `parse'
        from C:/Ruby19/lib/ruby/gems/1.9.1/gems/juicer-1.0.3/lib/juicer/cli.rb:27:in `parse'
        from C:/Ruby19/lib/ruby/gems/1.9.1/gems/juicer-1.0.3/lib/juicer/cli.rb:37:in `run'
        from C:/Ruby19/lib/ruby/gems/1.9.1/gems/juicer-1.0.3/bin/juicer:6:in `<top (required)>'
        from C:/Ruby19/bin/juicer:19:in `load'
        from C:/Ruby19/bin/juicer:19:in `<main>'

It also should be noted that I am not using a minifier. I'm not sure if that affects this issue, but its probably worth noting. I am running the code without YUI compressor installed because I want the code to be readable when it comes out.

Reported by KTaSh · May 2nd, 2010 @ 07:06 PM

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.