Sha256: ca1e2f39d8e93d1acfe0b90327b1b316b8e555a8c15bbdc9bed67e6141b6a025
Contents?: true
Size: 562 Bytes
Versions: 4
Compression:
Stored size: 562 Bytes
Contents
# encoding: utf-8 # NOTE: if you have bundler bundled locally, just # add bundler/lib into $: and this task will work Task.new(:bundle) do |task| task.description = "Install your gems locally from gems/cache via bundler" task.define do |*args, options| require 'rubygems' require 'rubygems/command' begin require 'bundler' require 'bundler/commands/bundle_command' rescue LoadError abort "You have to have bundler installed!" end args.push("--cached") Gem::Commands::BundleCommand.new.invoke(*args) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
nake-0.0.3 | lib/nake/tasks/bundle.rb |
nake-0.0.3.pre | lib/nake/tasks/bundle.rb |
nake-0.0.2 | lib/nake/tasks/bundle.rb |
nake-0.0.2.pre | lib/nake/tasks/bundle.rb |