Skip to content

Instantly share code, notes, and snippets.

@foca
Last active September 25, 2015 14:50
Show Gist options
  • Select an option

  • Save foca/a7936bb73a354e9ff79c to your computer and use it in GitHub Desktop.

Select an option

Save foca/a7936bb73a354e9ff79c to your computer and use it in GitHub Desktop.

Revisions

  1. foca revised this gist Sep 25, 2015. No changes.
  2. foca created this gist Sep 25, 2015.
    11 changes: 11 additions & 0 deletions Makefile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    ##
    # Bundler for Heroku
    ##

    Gemfile.lock: Gemfile
    ruby -S bundle install

    Gemfile: .gems
    echo "source \"https://rubygems.org\"" > $@
    echo "ruby \"$(shell ruby -e 'puts RUBY_VERSION')\"" >> $@
    awk '{ print "gem \"" $$1 "\", \"" $$3 "\"" }' $< >> $@