Nice to meet you. I bought a MacBook Pro a week ago and am studying at Progate to change jobs as an inexperienced engineer. Immediately, I got stuck when building the environment for Ruby on Rails.
Just install Atom, Homebrew, rbenv, Rails as Progate tells you, and then build a server locally. But,
rails s
When you enter
Could not find gem 'rails (~> 6.0.3, >= 6.0.3.4)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
What the hell. For the time being
bundle install
Since it says to enter, I will try it.
An error occurred while installing bindex (0.8.1), and Bundler
cannot continue.
Make sure that `gem install bindex -v '0.8.1' --source 'https://rubygems.org/'`
succeeds before bundling.
I am coming to the hearts of beginners. A few hours to ask Google teacher,
sudo gem install bindex -v '0.8.1'
It seems that you can now enter the password and install. Now, when you run bundle install again,
An error occurred while installing msgpack (1.3.3), and Bundler
cannot continue.
Make sure that `gem install msgpack -v '1.3.3' --source 'https://rubygems.org/'`
succeeds before bundling.
Is it again? But in the same way
sudo gem install msgpack -v '1.3.3'
I will install it with. After that, I repeated the work of running bundle install to install what was missing, and finally rails s was able to run.
I hope it helps someone like me who has a lottery.