Ruby on Rails无法捆绑安装 [英] Ruby on Rails cannot bundle install
问题描述
Ruby版本:2.1.5p273
Rails版本:4.2.0
宝石版本:2.2.2
操作系统:Windows 7 x64
Ruby version: 2.1.5p273
Rails version: 4.2.0
Gem Version: 2.2.2
OS: Windows 7 x64
您好,我对Rails编程非常陌生。我正在尝试开始学习,但由于这些问题而不能
。
Hello, I am very very new to rails programming. I am trying to start learning, but cannot
because of these problems.
-
我创建了Rails应用程序
我键入:> rails新应用
I created a rails app
I type: >rails new app
然后我导航到创建的文件夹
我键入:> rails server
I then navigate to the created folder
I type: >rails server
它告诉我
运行'bundle install'安装丢失的宝石。
It tells me
"Run 'bundle install' to install missing gems."
我这样做了,然后告诉我:
请确保在捆绑之前成功'gem install debugger-linecache -v'1.2.0'成功
I do so and it than tells me:
"Make sure that 'gem install debugger-linecache -v '1.2.0' succeeds before bundling'"
安装完说的gem之后,我会再次尝试捆绑安装,但是用不同的gem重复相同的错误。
after installing said gem I try bundle install again, but it than repeats the same error with a different gem.
""Make sure that 'gem install *random gem* -v '*random version*' succeeds before bundling'""
我几乎不知道我在这里做什么。如何使该服务器运行?
I hardly have any idea what I'm doing here. How can I get this server running?
推荐答案
使用以下两个命令已解决:
gem update --system < br> gem install bundler
Solved by using the following two commands:
gem update --system
gem install bundler
这篇关于Ruby on Rails无法捆绑安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!