- 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'
推薦閱讀
- 數據庫系統教程(第2版)
- 控糖控脂健康餐
- AngularJS Web Application Development Blueprints
- Learning AWS Lumberyard Game Development
- R語言編程指南
- React.js Essentials
- Building RESTful Python Web Services
- Java EE核心技術與應用
- Lighttpd源碼分析
- Learning YARN
- 并行編程方法與優化實踐
- WebStorm Essentials
- scikit-learn Cookbook(Second Edition)
- Learning Unreal Engine Game Development
- Tableau Dashboard Cookbook