Skip to content

Commit

Permalink
Altering Jar package task to rely on Bundler's local gem installation…
Browse files Browse the repository at this point in the history
… rather than a fixed path.
  • Loading branch information
bguthrie committed Jul 26, 2011
1 parent f7a7164 commit a350a9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tasks/jar.rake
Expand Up @@ -101,12 +101,12 @@ namespace :server_jar do
:dir => "#{Rails.root}/public"

zipfileset :prefix => "WEB-INF/rails/gems/gems",
:dir => "#{Rails.root}/vendor/jruby/1.8/gems",
:dir => "#{Bundler.bundle_path}/gems",
:includesfile => "#{TARGET_DIR}/gem_paths.files.txt",
:excludes => "*/test/**,*/spec/**"

zipfileset :prefix => "WEB-INF/rails/gems/specifications",
:dir => "#{Rails.root}/vendor/jruby/1.8/specifications",
:dir => "#{Bundler.bundle_path}/specifications",
:includesfile => "#{TARGET_DIR}/gem_specs.files.txt"
end

Expand Down

0 comments on commit a350a9a

Please sign in to comment.