无法捆绑安装Rails 5

时间:2022-04-07 12:55:40

Here is my problem:

这是我的问题:

D:\Rails\Simple-Blog>bundle install

The system cannot find the path specified

I use Windows system

我用的是Windows系统

Ruby 2.3.3p222 (2016-11-21 revision 56859) [i386-mingw32]

Ruby 2.3.3p222(2016-11-21修订版56859)[i386-mingw32]

Gem version ruby 2.3.3p222 (2016-11-21 revision 56859) [i386-mingw32]

宝石版红宝石2.3.3p222(2016-11-21修订版56859)[i386-mingw32]

Rails version 5.1.3

Rails版本5.1.3

So when I want to install any gem I just write this command line gem install because the bundle install doesn't work :(

因此,当我想安装任何gem时,我只需编写此命令行gem install,因为bundle install不起作用:(

1 个解决方案

#1


1  

You dont have the bundler gem installed, or at least not on your current path. bundle is not part of the Ruby install.

您没有安装bundler gem,或者至少没有安装在当前路径上。 bundle不是Ruby安装的一部分。

gem install bundler

#1


1  

You dont have the bundler gem installed, or at least not on your current path. bundle is not part of the Ruby install.

您没有安装bundler gem,或者至少没有安装在当前路径上。 bundle不是Ruby安装的一部分。

gem install bundler