我在使用rails 3 beta 4推送到heroku时遇到错误。我已经 在使用它之前设法部署但由于某种原因我得到了 现在奇怪的错误。 我在os x,雪豹上。我一直在使用rvm同时进行1.9.2预览 和头,我也刚刚恢复到系统ruby 1.8.7 -p254但是 他们都给了我同样的错误:
--------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---------------------
git push heroku master
Counting objects: 334, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (285/285), done.
Writing objects: 100% (310/310), 48.73 KiB, done.
Total 310 (delta 119), reused 0 (delta 0)
-----> Heroku receiving push
-----> Rails app detected
-----> Gemfile detected, running Bundler
Unresolved dependencies detected; Installing...
.........
.........
INSTALLS/BUNDLES ALL THE GEMS AND EVERYTHING WORKS FINE UNTILL HERE:
.........
.........
Your bundle is complete! Use `bundle show [gemname]` to see where a
bundled gem is installed.
Locking environment
/usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/package/
tar_input.rb:49:in `initialize': not in gzip format
(Zlib::GzipFile::Error)
from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/package/
tar_input.rb:49:in `new'
.........
.........
MORE STACK TRACE HERE:
.........
.........
error: hooks/pre-receive exited with error code 1
To g...@heroku.com:hostelizer.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '...@heroku.com:hostelizer.git'
--------------------------------------------------------------------------- --------------------------------------------------------------------------- --------------------------------------------------------------------------- ---------------------
任何想法都是gr8,因为我不是ruby / rails的大师。 干杯。