Sha256: 00b2fd1d4432f1dad3f19fb3cd04e96dd574fbbbde547353573ec30752182d95
Contents?: true
Size: 544 Bytes
Versions: 5
Compression:
Stored size: 544 Bytes
Contents
class Recipes::Bower < Rails::AppBuilder def create copy_file '../assets/.bowerrc', '.bowerrc' template '../assets/bower.json', 'bower.json' application "config.assets.paths << Rails.root.join('vendor', 'assets', 'bower_components')" if get(:heroku) bower_buildpack_url = 'https://github.com/platanus/heroku-buildpack-bower.git' insert_point = 'https://github.com/platanus/heroku-buildpack-ruby-version.git' inject_into_file '.buildpacks', "#{bower_buildpack_url}\n", before: insert_point end end end
Version data entries
5 entries across 5 versions & 1 rubygems