Ruby on Rails:Mac OS X 10.6 安装失败。请帮忙
我刚刚完成了 tryruby.org 教程,然后是 rubyforzombies.org 教程,一切都很顺利。 然后我开始使用 Mac Os X 10.6 终端安装 Ruby 1.9.2 和 Rails 3.0.4,到目前为止一切顺利。
我通过命令行创建了一个 Rails 应用程序,如下所示:
$ rails new ~/Sites/_ruby/rail3sqlite
$ cd rails3sqlite
$ rails server
文件夹和文件结构已成功生成,但是当我运行最后一行 rails server
时,我只是收到一条错误消息:
Could not find gem 'sqlite3 (>= 0, runtime)' in any of the gem sources
listed in your Gemfile.
我怎样才能得到这个在职的?
在我看来,目前的设置比学习语言更难。
不管怎样,如果有人能帮助我解决这个设置问题,那就太棒了。
到目前为止,我只使用 MAMP 在本地运行 PHP(它会自动为我设置所有内容),所以我习惯使用 MySQL,而不是 SQLite。
有理由选择其中之一吗?
是否有适用于 SQlite 的 GUI 工具,例如适用于 MySQL 的 PhpMyAdmin?
如何让 Rails 与 MySQL 一起工作? (我尝试将 -d mysql
选项添加到 Rails new 命令中,但随后我使用 mysql2
而不是 sqlite3
得到与上面相同的错误。
谢谢, Jannis
更新:
因此,我遵循了以下建议,并在我的 ruby3sqlite
目录中运行了 $ bundle install
,这在控制台中返回
Jannis:rail3sqlite Jannis$ bundle install
Fetching source index for http://rubygems.org/
/Users/Jannis/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/remote_fetcher.rb:184:in `rescue in fetch_path': SocketError: getaddrinfo: nodename nor servname provided, or not known (http://rubygems.org/quick/Marshal.4.8/sqlite3-1.3.3.gemspec.rz) (Gem::RemoteFetcher::FetchError)
:这些行:
from /Users/Jannis/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/remote_fetcher.rb:176:in `fetch_path'
from /Users/Jannis/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:111:in `fetch_spec'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/remote_specification.rb:47:in `_remote_specification'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/remote_specification.rb:53:in `method_missing'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:101:in `block in __dependencies'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:98:in `each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:98:in `__dependencies'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:68:in `activate_platform'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:325:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:160:in `start'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:128:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:127:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:127:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/definition.rb:151:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/definition.rb:90:in `specs'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/definition.rb:85:in `resolve_remotely!'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/installer.rb:35:in `run'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/installer.rb:8:in `install'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/cli.rb:226:in `install'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/vendor/thor/task.rb:22:in `run'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/vendor/thor.rb:246:in `dispatch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/vendor/thor/base.rb:389:in `start'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/bin/bundle:13:in `<top (required)>'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/bin/bundle:19:in `load'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/bin/bundle:19:in `<main>'
Jannis:rail3sqlite Jannis$ rails server
Could not find gem 'sqlite3 (>= 0, runtime)' in any of the gem sources listed in your Gemfile.
如果您知道这些行的含义以及我需要做什么,我将非常感谢您的帮助。
感谢到目前为止的建议!非常感谢。
更新 2:
所以上面的情况似乎只是暂时的,也许 gems 服务器已关闭或我的 ISP 出现问题?谁知道呢……不管怎样,我重新运行了 bundle install
命令,现在一切都正常工作了。
谢谢。
I have just completed the tryruby.org tutorial, followed by the rubyforzombies.org tutorials and all was well.
Then I moved onto installing Ruby 1.9.2 and Rails 3.0.4 using my Mac Os X 10.6 terminal, so far so good.
I have created a rails app via the command line as follows:
$ rails new ~/Sites/_ruby/rail3sqlite
$ cd rails3sqlite
$ rails server
The folder and file structure is being generated successfully but when I run the last line rails server
I simply get an error saying:
Could not find gem 'sqlite3 (>= 0, runtime)' in any of the gem sources
listed in your Gemfile.
How can I get this working?
It seems to me the setup of this is harder than learning the language at this point.
Either way it would be awesome if someone could help me with this setup issue.
So far I have only been using MAMP to run PHP locally (which sets up everything automagically for me) so I am used to using MySQL as opposed to SQLite.
Is there a reason to choose one over the other?
Are there GUI tools for SQlite such as PhpMyAdmin for MySQL?
How can I get rails working with MySQL? (I tried adding the -d mysql
option into the rails new command but then I get the same error as above with mysql2
as opposed to sqlite3
.
Thanks,
Jannis
Update:
So I followed the advice below and ran $ bundle install
within my ruby3sqlite
directory and this was returned in the console:
Jannis:rail3sqlite Jannis$ bundle install
Fetching source index for http://rubygems.org/
/Users/Jannis/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/remote_fetcher.rb:184:in `rescue in fetch_path': SocketError: getaddrinfo: nodename nor servname provided, or not known (http://rubygems.org/quick/Marshal.4.8/sqlite3-1.3.3.gemspec.rz) (Gem::RemoteFetcher::FetchError)
Followed by all of these lines:
from /Users/Jannis/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/remote_fetcher.rb:176:in `fetch_path'
from /Users/Jannis/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/spec_fetcher.rb:111:in `fetch_spec'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/remote_specification.rb:47:in `_remote_specification'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/remote_specification.rb:53:in `method_missing'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:101:in `block in __dependencies'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:98:in `each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:98:in `__dependencies'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:68:in `activate_platform'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:325:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:215:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:344:in `block in resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:343:in `resolve_requirement'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:295:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `reverse_each'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:294:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:160:in `start'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:128:in `block in resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:127:in `catch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/resolver.rb:127:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/definition.rb:151:in `resolve'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/definition.rb:90:in `specs'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/definition.rb:85:in `resolve_remotely!'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/installer.rb:35:in `run'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/installer.rb:8:in `install'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/cli.rb:226:in `install'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/vendor/thor/task.rb:22:in `run'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/vendor/thor.rb:246:in `dispatch'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/lib/bundler/vendor/thor/base.rb:389:in `start'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/gems/bundler-1.0.10/bin/bundle:13:in `<top (required)>'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/bin/bundle:19:in `load'
from /Users/Jannis/.rvm/gems/ruby-1.9.2-p180@rails3tutorial/bin/bundle:19:in `<main>'
Jannis:rail3sqlite Jannis$ rails server
Could not find gem 'sqlite3 (>= 0, runtime)' in any of the gem sources listed in your Gemfile.
If you have any ideas what those lines mean and what I need to do I would really appreciate your help.
Thanks for the suggestions so far! Much appreciated.
Update 2:
So it seems the above was just temporary, maybe the gems server was down or my ISP was having an issue? Who knows… either way I re ran the bundle install
command and everything is now working as it should.
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
在 Rails 3 中,项目所依赖的 gem 列在项目根目录的
Gemfile
中。您需要运行bundle install
来 (1) 确保您的应用程序依赖项已安装,(2) 生成Gemfile.lock
来准确确定您的这些 gem 的版本。应用程序应该使用。 (请注意,一个命令可以为您完成这两件事。)运行
bundle install
后,您应该能够使用rails server
启动开发服务器。[编辑]
您可以在 Bundler 中了解有关 Bundler(管理
Gemfile
的系统)的更多信息主页。In Rails 3, the gems that your project depends on are listed in
Gemfile
in the root of your project directory. You need to runbundle install
to (1) ensure that your applications dependencies are installed, and (2) generate theGemfile.lock
that determines exactly which versions of these gems your application should use. (Note that the one command does both of those things for you.)Once you've run
bundle install
, you should be able to start your development server usingrails server
.[Edit]
You can learn more about Bundler, the system that manages your
Gemfile
, at the Bundler homepage.确保
cd Rails3sqlite3
,然后捆绑安装
。Make sure to
cd rails3sqlite3
and thenbundle install
.我在 Snow Leopard 10.6 上编写了一个用于 Rails 3/Ruby 1.9.2/RVM 的程序...并将其发布到网站上。看看吧,也许能解决你的一些问题。
http://railsonosx.com
I put together a procedure for Rails 3/Ruby 1.9.2/RVM on Snow Leopard 10.6... and threw it up on a site. Have a look, it might help with some of your issues.
http://railsonosx.com
要在 Mac 上进行全新的 Rails4 (ruby 2) 设置,请查看此博客文章:
http://blog.parsalabs.com/blog/2013/08/27/setting-up -a-ruby-on-rails-4-development-environment-on-a-clean-mac-os-x-installation/
我已经在自己的mac上尝试并测试了这个方法。我想我会与社区分享。希望您会发现它很有用。
For a fresh rails4 (ruby 2) setup on Mac, checkout this blog post:
http://blog.parsalabs.com/blog/2013/08/27/setting-up-a-ruby-on-rails-4-development-environment-on-a-clean-mac-os-x-installation/
I have tried and tested this method on my own mac. thought I'd share it with the community. hope you will find it useful.