Ruby on Rails - Windows 7 - 安装问题

发布于 2024-10-08 20:17:44 字数 568 浏览 3 评论 0原文

我正在导轨上安装红宝石。

我安装了版本 3.0.0,然后想将其更新到版本 3.0.1

所以我通过给出删除了可执行文件

gem uninstall rails

然后我再次尝试通过给出进行安装

gem install rails -v 3.0.1

它说

Succesfully installed rails-3.0.1
1 gem installed
Installing ri documentaion details for rails -3.0.1
File not found: lib

我通过给出进行了测试

rails -v

现在它说一个错误名为

Could not find gem 'sqlite3-ruby (>= 0, runtime)' in any of the gem sources list
ed in your Gemfile.
Try running `bundle install`.

谁能告诉我什么我失踪了?我使用的是 Windows 7。

I am installing ruby on rails.

I installed version 3.0.0 and then wanted to update it to version 3.0.1

So I removed the executable files by giving

gem uninstall rails

Then I again tried installing by giving

gem install rails -v 3.0.1

It says

Succesfully installed rails-3.0.1
1 gem installed
Installing ri documentaion details for rails -3.0.1
File not found: lib

I tested by giving

rails -v

Now it is saying an error called

Could not find gem 'sqlite3-ruby (>= 0, runtime)' in any of the gem sources list
ed in your Gemfile.
Try running `bundle install`.

Can anyone tell me what I am missing? I am using Windows 7.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

物价感观 2024-10-15 20:17:44

你错过了阅读说明:

在任何 gem 源列表中都找不到 gem 'sqlite3-ruby (>= 0, runtime)'
编辑在您的 Gemfile 中。

这表明 sqlite3-ruby 在您的 Gemfile 中,但尚未安装,然后:

尝试运行捆绑安装

您是否运行了 bundle install 来安装缺少的 gem?

我建议您阅读 Rails 指南,特别是入门指南。

希望有帮助

you're missing reading the instructions:

Could not find gem 'sqlite3-ruby (>= 0, runtime)' in any of the gem sources list
ed in your Gemfile.

That indicates that sqlite3-ruby is in your Gemfile, but is not installed, then:

Try running bundle install

Did you ran bundle install to install the missing gems?

I would recommend you read Rails guides, specially the Getting Started guide.

Hope that helps

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文