0
我使用的OS X.無法發佈到Heroku的
ruby -v
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]
rails -v
Rails 3.0.8
which ruby
/Users/apple/.rvm/rubies/ruby-1.9.2-p180/bin/ruby
which rails
/Users/apple/.rvm/gems/[email protected]/bin/rails
當我使用命令git push heroku master
,我得到
! Heroku push rejected, no Rails or Rack app detected
To [email protected]:testingnewyork.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:testingnewyork.git'
我應該怎麼辦?
[push rails app to heroku]的可能重複(http://stackoverflow.com/questions/1974257/push-rails-app-to-heroku) – 2011-06-15 03:38:57