Sha256: b4103f21931c3dfba75f8e49f246db27e4c04673f60ff393ccdd4e9671637047

Contents?: true

Size: 363 Bytes

Versions: 1

Compression:

Stored size: 363 Bytes

Contents

#!/usr/bin/env rake

bundler_installed = !!(%x[gem list] =~ /bundler/)

desc "Setup the local environment"
task :setup do
  sh %Q!gem install bundler --pre --no-ri --no-rdoc! unless bundler_installed
  sh %Q!bundle install!
  puts "Done!"
end

if bundler_installed
  require File.expand_path('../config/application', __FILE__)
  Todos::Application.load_tasks
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
amber-rails-0.1.0 examples/todos/Rakefile