这个该怎么解决呢? 求大神解救? 今天刚装的系统所以不太懂。。
The picture provided by lz is not very helpful, it just shows that rails is installed successfully. Congratulations.
After using rails new project_name to generate the project, you will encounter bundle problems.
Please change the gem source to solve this problem. The current relatively stable domestic source is http://gems.ruby-china.org/
http://gems.ruby-china.org/
Good luck!
After many twists and turns, it became. .
Could not find gem 'rails (= 4.2.6)' in any of the gem sources listed in your Gemfile or available on this machine.Run bundle install to install missing gems.
bundle install
Then running bundle install always stops halfway.
Add gem 'rails', '4.2.6'Control your own version in your gemfile
gem 'rails', '4.2.6'
The picture provided by lz is not very helpful, it just shows that rails is installed successfully. Congratulations.
After using rails new project_name to generate the project, you will encounter bundle problems.
Please change the gem source to solve this problem.
The current relatively stable domestic source is
http://gems.ruby-china.org/
Good luck!
After many twists and turns, it became. .
Could not find gem 'rails (= 4.2.6)' in any of the gem sources listed in your Gemfile or available on this machine.
Run
bundle install
to install missing gems.Then running bundle install always stops halfway.
Add
gem 'rails', '4.2.6'
Control your own version in your gemfile