質問編集履歴

1

詳細の追記

2016/10/05 01:50

投稿

cont
cont

スコア13

test CHANGED
File without changes
test CHANGED
@@ -97,3 +97,149 @@
97
97
  Mac OSX 10.12
98
98
 
99
99
  rbenv
100
+
101
+
102
+
103
+ ```
104
+
105
+ $ which rbenv
106
+
107
+ /usr/local/bin/rbenv
108
+
109
+ $ rbenv --version
110
+
111
+ rbenv 1.0.0
112
+
113
+ $ rbenv versions
114
+
115
+ system
116
+
117
+ 2.2.3
118
+
119
+ * 2.3.1
120
+
121
+ $ which ruby
122
+
123
+ /Users/hoge/.rbenv/shims/ruby
124
+
125
+ $ ruby --version
126
+
127
+ ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
128
+
129
+ $ bundle exec gem list | grep noko
130
+
131
+ nokogiri (1.6.8)
132
+
133
+ $ bundle config
134
+
135
+ Settings are listed in order of priority. The top value will be used.
136
+
137
+ path
138
+
139
+ Set for your local app (/Users/hoge/home/p3commerce/.bundle/config): "vendor/bundle"
140
+
141
+
142
+
143
+ jobs
144
+
145
+ Set for your local app (/Users/hoge/home/p3commerce/.bundle/config): "4"
146
+
147
+
148
+
149
+ disable_shared_gems
150
+
151
+ Set for your local app (/Users/hoge/home/p3commerce/.bundle/config): "true"
152
+
153
+
154
+
155
+ bin
156
+
157
+ Set for your local app (/Users/hoge/home/p3commerce/.bundle/config): "bin"
158
+
159
+
160
+
161
+ $ bundle exec rails --version
162
+
163
+ Looks like your app's ./bin/rails is a stub that was generated by Bundler.
164
+
165
+
166
+
167
+ In Rails 5, your app's bin/ directory contains executables that are versioned
168
+
169
+ like any other source code, rather than stubs that are generated on demand.
170
+
171
+
172
+
173
+ Here's how to upgrade:
174
+
175
+
176
+
177
+ bundle config --delete bin # Turn off Bundler's stub generator
178
+
179
+ rails app:update:bin # Use the new Rails 5 executables
180
+
181
+ git add bin # Add bin/ to source control
182
+
183
+
184
+
185
+ You may need to remove bin/ from your .gitignore as well.
186
+
187
+
188
+
189
+ When you install a gem whose executable you want to use in your app,
190
+
191
+ generate it and add it to source control:
192
+
193
+
194
+
195
+ bundle binstubs some-gem-name
196
+
197
+ git add bin/new-executable
198
+
199
+
200
+
201
+ Rails 5.0.0.rc2
202
+
203
+ ohaleMac:p3commerce oshale$ bin/rails --version
204
+
205
+ Looks like your app's ./bin/rails is a stub that was generated by Bundler.
206
+
207
+
208
+
209
+ In Rails 5, your app's bin/ directory contains executables that are versioned
210
+
211
+ like any other source code, rather than stubs that are generated on demand.
212
+
213
+
214
+
215
+ Here's how to upgrade:
216
+
217
+
218
+
219
+ bundle config --delete bin # Turn off Bundler's stub generator
220
+
221
+ rails app:update:bin # Use the new Rails 5 executables
222
+
223
+ git add bin # Add bin/ to source control
224
+
225
+
226
+
227
+ You may need to remove bin/ from your .gitignore as well.
228
+
229
+
230
+
231
+ When you install a gem whose executable you want to use in your app,
232
+
233
+ generate it and add it to source control:
234
+
235
+
236
+
237
+ bundle binstubs some-gem-name
238
+
239
+ git add bin/new-executable
240
+
241
+
242
+
243
+ Rails 5.0.0.rc2
244
+
245
+ ```