2010-09-26 2 views
0

Я делаю свой первый тест на героку, и у меня проблема с героем db: push. мой конфиг:Получение проблемы с heroku db: push

ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9.8.0] 
gem 1.3.7 

ли кто-то может мне помочь?

$ heroku db:push 

Loaded Taps v0.3.12 
Auto-detected local database: mysql://[email protected]/siftest?encoding=utf8 
Warning: Data in the app 'morning-waterfall-18' will be overwritten and will not be recoverable. 
Are you sure you wish to continue? (y/n)? y 
Sending schema 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
Schema:  100% |==========================================| Time: 00:00:24 
/Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3:in `require': no such file to load -- rubygems (LoadError) 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/bin/schema:3 
/Library/Ruby/Gems/1.8/gems/json_pure-1.4.6/lib/json/pure/parser.rb:148:in `parse': source did not contain any JSON! (JSON::ParserError) 
from /Library/Ruby/Gems/1.8/gems/json_pure-1.4.6/lib/json/common.rb:146:in `parse' 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/lib/taps/operation.rb:410:in `push_indexes' 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/lib/taps/operation.rb:388:in `run' 
from /Library/Ruby/Gems/1.8/gems/taps-0.3.12/lib/taps/cli.rb:169:in `clientxfer' 
from /Library/Ruby/Gems/1.8/gems/heroku-1.10.5/lib/heroku/commands/db.rb:162:in `taps_client' 
from /Library/Ruby/Gems/1.8/gems/heroku-1.10.5/lib/heroku/commands/db.rb:13:in `push' 
from /Library/Ruby/Gems/1.8/gems/heroku-1.10.5/lib/heroku/command.rb:48:in `send' 
from /Library/Ruby/Gems/1.8/gems/heroku-1.10.5/lib/heroku/command.rb:48:in `run_internal' 
from /Library/Ruby/Gems/1.8/gems/heroku-1.10.5/lib/heroku/command.rb:20:in `run' 
from /Library/Ruby/Gems/1.8/gems/heroku-1.10.5/bin/heroku:13 
from /usr/bin/heroku:19:in `load' 
from /usr/bin/heroku:19 
+0

ли вы удалить RubyGems? Можете ли вы сделать gem -version в терминале? –

ответ

0

Вы получаете такой файл для загрузки Rubygems ошибки, которая может означать следующее:
3,3 Нет такой файл для загрузки - RubyGems Когда я запускаю команду гема, я получаю следующее сообщение об ошибке:

ruby: Нет такого файла для загрузки - rubygems (LoadError) Что случилось?

Похоже, что исполняемая копия Ruby не имеет установленной библиотеки RubyGems. Возможно, RubyGems был установлен за один раз (потому что команда gem распознана), но она, возможно, была установлена ​​на другой установке Ruby, чем тот, который вы сейчас используете.

Что нужно проверить Убедитесь, что установка Ruby, которая работает, такая же, как у RubyGems. В системе unix, какая команда (или команда типа) поможет понять это. Убедитесь, что установленная в настоящий момент установка Ruby действительно содержит библиотеку RubyGems. Вы должны найти файл rubygems.rb в каталоге site_ruby/1.8 установки Ruby. Эти смешения могут быть легко реализованы после установки нового экземпляра Ruby, но старый экземпляр предшествует новому в списке PATH.

Эта информация может быть найдена здесь: http://docs.rubygems.org/read/chapter/19

+0

У меня больше нет проблемы, но я не знаю почему. Я думаю, что моя корреляция RoR была нестабильной. Но знайте, что все в порядке, героика db: push работал. Благодарим вас за ответ –

+0

никаких проблем. рад, что он работает для вас –

Смежные вопросы