回答編集履歴
1
Gemfile例
test
CHANGED
@@ -9,3 +9,99 @@
|
|
9
9
|
|
10
10
|
|
11
11
|
`rails new`後の`bundle install`でpathを指定しなかった場合、グローバルにインストールされます。pathを指定することでそのRailsプロジェクト内のみで利用するようにgemをインストールできます。
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
```
|
18
|
+
|
19
|
+
source 'https://rubygems.org'
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
24
|
+
|
25
|
+
gem 'rails', '4.2.1'
|
26
|
+
|
27
|
+
# Use postgresql as the database for Active Record
|
28
|
+
|
29
|
+
gem 'pg'
|
30
|
+
|
31
|
+
gem 'sqlite3'
|
32
|
+
|
33
|
+
# Use SCSS for stylesheets
|
34
|
+
|
35
|
+
gem 'sass-rails', '~> 5.0'
|
36
|
+
|
37
|
+
# Use Uglifier as compressor for JavaScript assets
|
38
|
+
|
39
|
+
gem 'uglifier', '>= 1.3.0'
|
40
|
+
|
41
|
+
# Use CoffeeScript for .coffee assets and views
|
42
|
+
|
43
|
+
gem 'coffee-rails', '~> 4.1.0'
|
44
|
+
|
45
|
+
# See https://github.com/rails/execjs#readme for more supported runtimes
|
46
|
+
|
47
|
+
# gem 'therubyracer', platforms: :ruby
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
# Use jquery as the JavaScript library
|
52
|
+
|
53
|
+
gem 'jquery-rails'
|
54
|
+
|
55
|
+
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
|
56
|
+
|
57
|
+
gem 'turbolinks'
|
58
|
+
|
59
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
60
|
+
|
61
|
+
gem 'jbuilder', '~> 2.0'
|
62
|
+
|
63
|
+
# bundle exec rake doc:rails generates the API under doc/api.
|
64
|
+
|
65
|
+
gem 'sdoc', '~> 0.4.0', group: :doc
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
# Use ActiveModel has_secure_password
|
70
|
+
|
71
|
+
# gem 'bcrypt', '~> 3.1.7'
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
# Use Unicorn as the app server
|
76
|
+
|
77
|
+
# gem 'unicorn'
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
# Use Capistrano for deployment
|
82
|
+
|
83
|
+
# gem 'capistrano-rails', group: :development
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
group :development, :test do
|
88
|
+
|
89
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
90
|
+
|
91
|
+
gem 'byebug'
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
# Access an IRB console on exception pages or by using <%= console %> in views
|
96
|
+
|
97
|
+
gem 'web-console', '~> 2.0'
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
102
|
+
|
103
|
+
gem 'spring'
|
104
|
+
|
105
|
+
end
|
106
|
+
|
107
|
+
```
|