Ruby on Rails - Windows 7 - 安装问题
我正在导轨上安装红宝石。
我安装了版本 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你错过了阅读说明:
这表明 sqlite3-ruby 在您的 Gemfile 中,但尚未安装,然后:
您是否运行了
bundle install
来安装缺少的 gem?我建议您阅读 Rails 指南,特别是入门指南。
希望有帮助
you're missing reading the instructions:
That indicates that sqlite3-ruby is in your Gemfile, but is not installed, then:
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