【发布时间】:2011-12-04 15:56:12
【问题描述】:
我从 ruby on rails 开始,我正在尝试创建我的第一个博客。于是我跑了:
rails new blog -database=mysql
出现错误:
Gem::InstallError: The 'json' native gem requires installed build tools.
但是因为我在我的博客目录中看到了一个 json 目录,所以我不在乎。 所以我运行命令来创建数据库:
rake db:create --trace
我还有另一个错误:
Could not find gem 'rails (= 3.1.3) x86-mingw32' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
有人知道是什么问题吗?
【问题讨论】:
标签: ruby-on-rails ruby rubygems gem rake