官术网_书友最值得收藏!

  • Learning Heroku Postgres
  • Patrick Espake
  • 183字
  • 2021-07-23 20:48:37

The dependencies file

Heroku recognizes a Ruby application through the existence of a dependency file named Gemfile. Take a look at this file; you will see the following dependencies for the sample application:

source 'https://rubygems.org'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.1.8'
# Use postgresql as the database for Active Record
gem 'pg'
# Run Rails the 12factor way
gem 'rails_12factor', group: :production
# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.3'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'
# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring', group: :development
# Use unicorn as the app server
gem 'unicorn'
主站蜘蛛池模板: 错那县| 金溪县| 治县。| 浦东新区| 平和县| 东台市| 含山县| 莲花县| 托克托县| 伊吾县| 洱源县| 利川市| 尚义县| 广宁县| 咸丰县| 河曲县| 新龙县| 南和县| 陆川县| 邹城市| 五河县| 都安| 日土县| 岱山县| 大余县| 高淳县| 株洲市| 绥江县| 盘山县| 永仁县| 册亨县| 墨竹工卡县| 萍乡市| 鹤峰县| 罗江县| 嫩江县| 谷城县| 延庆县| 万全县| 沁阳市| 佛山市|