新手问题 提示 Gemfile 添加 gem 'sqlite3' ,可是 Gemfile 里面已经有了怎么办

sileixinhua · 2013年10月21日 · 最后由 kevinzhow 回复于 2013年10月21日 · 3305 次阅读

Specified 'sqlite3' for database adapter, but the gem is not loaded. Add gem 'sqlite3' to your Gemfile.,可是我用 sqlite3 -versin 看到是 3.8.1 版本,又去 Gemfile 里看到有 gem 'sqlite3‘这行代码,请问哪里出问题了。

bundle exec 来运行试试

#1 楼 @kevinzhow 提示 bundler: exec needs a command to run,这是属于哪方面的问题啊?

bundle exec rails s你至少要打一个 command 命令。。

原来是没有 bundle 的原因

需要 登录 后方可回复, 如果你还没有账号请 注册新账号