19/2/9 rails haml導入

user-no-MacBook-Pro:chat-space user$ bundle install
rbenv: bundle: command not found

The `bundle’ command exists in these Ruby versions:
2.5.1

user-no-MacBook-Pro:chat-space user$ which bundle
/Users/user/.rbenv/shims/bundle
user-no-MacBook-Pro:chat-space user$ gem install bundler
Fetching: bundler-2.0.1.gem (100%)
Successfully installed bundler-2.0.1
Parsing documentation for bundler-2.0.1
Installing ri documentation for bundler-2.0.1
Done installing documentation for bundler after 12 seconds
1 gem installed
user-no-MacBook-Pro:chat-space user$ bundle install

Bundle complete!

19/2/9 ruby version切替です。

>||

$ ruby -v
=> ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]
$ rbenv local 2.3.1-dev
=> rbenv: version `2.3.1-dev’ not installed
$ rbenv versions # rbenvでインストールしてあるrubyのバージョン確認
=> system
2.3.1
*2.5.1 (set by /Users/user/.rbenv/version)
$ rbenv local 2.3.1 # rbenvでrubyのバージョン変更
=>system
*2.3.1 (set by /Users/user/projects/chat-space/.ruby-version)
2.5.1

||<