Bot*_*oti 3 ruby-on-rails heroku
通过做这个:
bundle exec heroku db:push
Run Code Online (Sandbox Code Playgroud)
我懂了:
! Taps Load Error: no such file to load -- sqlite3
! You may need to install or update the taps gem to use db commands.
! On most systems this will be:
!
! sudo gem install taps
Run Code Online (Sandbox Code Playgroud)
这是我的database.yml文件:
development:
adapter: mysql2
encoding: utf8
database: g_dev
pool: 5
username: root
password:
Run Code Online (Sandbox Code Playgroud)
我贬低了它.
我需要将gem'sqlite3'放在gemfile中.
因为cli.rb中的这一行10(taps-0.3.24):
require 'optparse'
require 'tempfile'
require 'taps/monkey'
require 'taps/config'
require 'taps/log'
require 'vendor/okjson'
Taps::Config.taps_database_url = ENV['TAPS_DATABASE_URL'] || begin
# this is dirty but it solves a weird problem where the tempfile disappears mid-process
require 'sqlite3'
Run Code Online (Sandbox Code Playgroud)
它是在点击源代码...... :(我别无选择
| 归档时间: |
|
| 查看次数: |
1427 次 |
| 最近记录: |