-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGemfile
75 lines (65 loc) · 3.01 KB
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
source 'https://rubygems.org'
# source 'http://ruby.taobao.org/' # local development
ruby "2.3.1"
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
# # Use sqlite3 as the database for Active Record
# Use Puma as the app server
gem 'puma', '~> 3.0'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.2'
# See https://github.com/Frails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
gem "http"
# Use jquery as the JavaScript library
gem 'jquery-rails'
gem 'jquery-ui-rails'
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
#Turbolinks 为页面中所有的 <a> 元素添加一个点击事件处理程序。如果浏览器支持 PushState,Turbolinks 会发起 Ajax 请求,解析响应,然后使用响应主体替换原始页面的整个 <body> 元素。最后,使用 PushState 技术更改页面的 URL,让新页面可刷新,并且有个精美的 URL。
# 要想使用 Turbolinks,只需将其加入 Gemfile,然后在 app/assets/javascripts/application.js 中加入 //= require turbolinks。
# 如果某个链接不想使用 Turbolinks,可以在链接中添加 data-turbolinks="false" 属性:
# <a href="..." data-turbolinks="false">No turbolinks here</a>.
gem 'turbolinks', '~> 5'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.5'
# Use ActiveModel has_secure_password
gem 'bcrypt', '~> 3.1.7'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platform: :mri
end
gem 'will_paginate','>= 3.0.pre'
gem 'capistrano-rails',group: :development
gem 'capistrano-rvm',group: :development
gem 'capistrano-bundler',group: :development
gem 'capistrano-passenger',group: :development
group :development do
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
gem 'web-console'
gem 'listen', '~> 3.0.5'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'
end
gem 'rufus-scheduler','~>3.4.2'
# group :production do
# gem 'mysql2'#, '~>0.4.0'
# end
#!!Heroku works only with PostgreSQL
#搭建 Heroku 部署环境 Run `bundle install` to install missing gems.
gem 'sqlite3', group: [:development, :test]
gem 'pg', group: [:production]
# Use Redis adapter to run Action Cable in production
gem 'redis', '~> 3.0', group: [:production]
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
gem 'activemerchant','~> 1.58'
gem 'haml','~> 4.0'
gem 'kaminari','~> 0.16'
gem 'carrierwave', '~> 1.0'