我是 ROR 的新手。因此,当我尝试安装 ROR 时。当我尝试启动 rails( rails s
) 时,我收到这样的错误:
Could not find gem 'sqlite3 (>= 0) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.
P.S. I'm working on Ubuntu 12.04
我是 ROR 的新手。因此,当我尝试安装 ROR 时。当我尝试启动 rails( rails s
) 时,我收到这样的错误:
Could not find gem 'sqlite3 (>= 0) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.
P.S. I'm working on Ubuntu 12.04
尝试
sudo apt-get install libsqlite3-dev
和
sudo gem install sqlite3-ruby
然后运行
bundle install
您只需阅读错误消息即可。
Run `bundle install` to install missing gems.
RyanBigg 的博客非常适合为 ubuntu 安装 ROR。因此,以下链接可能会对您有所帮助。
http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/