Sha256: 1f4dce6fcfb7d52f3a07be8abdbe2f2e6232dfd010b23653e94c25f4ce60450b

Contents?: true

Size: 448 Bytes

Versions: 1

Compression:

Stored size: 448 Bytes

Contents

# replace rails 2.3's gems tasks with bundler-aware versions
if File.exist? "Gemfile"
  Rake::Task[:gems].clear
  desc "Asks bundler for the status of the gem dependencies."
  task :gems do
    system "bundle show"
  end

  Rake::Task[:"gems:install"].clear
  namespace :gems do
    desc "Invoke bundle install if the dependencies aren't satisfied."
    task :install do
      system "bundle install" unless system "bundle check"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bard-rake-0.1.0 lib/bard/rake/bundler.rb