teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

詳細の追記

2016/10/05 01:50

投稿

cont
cont

スコア13

title CHANGED
File without changes
body CHANGED
@@ -47,4 +47,77 @@
47
47
  rails 5.0.0rc
48
48
  ruby 2.3.1
49
49
  Mac OSX 10.12
50
- rbenv
50
+ rbenv
51
+
52
+ ```
53
+ $ which rbenv
54
+ /usr/local/bin/rbenv
55
+ $ rbenv --version
56
+ rbenv 1.0.0
57
+ $ rbenv versions
58
+ system
59
+ 2.2.3
60
+ * 2.3.1
61
+ $ which ruby
62
+ /Users/hoge/.rbenv/shims/ruby
63
+ $ ruby --version
64
+ ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
65
+ $ bundle exec gem list | grep noko
66
+ nokogiri (1.6.8)
67
+ $ bundle config
68
+ Settings are listed in order of priority. The top value will be used.
69
+ path
70
+ Set for your local app (/Users/hoge/home/p3commerce/.bundle/config): "vendor/bundle"
71
+
72
+ jobs
73
+ Set for your local app (/Users/hoge/home/p3commerce/.bundle/config): "4"
74
+
75
+ disable_shared_gems
76
+ Set for your local app (/Users/hoge/home/p3commerce/.bundle/config): "true"
77
+
78
+ bin
79
+ Set for your local app (/Users/hoge/home/p3commerce/.bundle/config): "bin"
80
+
81
+ $ bundle exec rails --version
82
+ Looks like your app's ./bin/rails is a stub that was generated by Bundler.
83
+
84
+ In Rails 5, your app's bin/ directory contains executables that are versioned
85
+ like any other source code, rather than stubs that are generated on demand.
86
+
87
+ Here's how to upgrade:
88
+
89
+ bundle config --delete bin # Turn off Bundler's stub generator
90
+ rails app:update:bin # Use the new Rails 5 executables
91
+ git add bin # Add bin/ to source control
92
+
93
+ You may need to remove bin/ from your .gitignore as well.
94
+
95
+ When you install a gem whose executable you want to use in your app,
96
+ generate it and add it to source control:
97
+
98
+ bundle binstubs some-gem-name
99
+ git add bin/new-executable
100
+
101
+ Rails 5.0.0.rc2
102
+ ohaleMac:p3commerce oshale$ bin/rails --version
103
+ Looks like your app's ./bin/rails is a stub that was generated by Bundler.
104
+
105
+ In Rails 5, your app's bin/ directory contains executables that are versioned
106
+ like any other source code, rather than stubs that are generated on demand.
107
+
108
+ Here's how to upgrade:
109
+
110
+ bundle config --delete bin # Turn off Bundler's stub generator
111
+ rails app:update:bin # Use the new Rails 5 executables
112
+ git add bin # Add bin/ to source control
113
+
114
+ You may need to remove bin/ from your .gitignore as well.
115
+
116
+ When you install a gem whose executable you want to use in your app,
117
+ generate it and add it to source control:
118
+
119
+ bundle binstubs some-gem-name
120
+ git add bin/new-executable
121
+
122
+ Rails 5.0.0.rc2
123
+ ```