2013-01-09 51 views
0

應用程序我已經上傳我的應用程序的Heroku,它的一個簡單的應用程序來測試登錄,它採用了寶石命名的法術,但是當我測試它在Heroku上,我得到應用程序錯誤應用程序錯誤軌在Heroku

要上傳到Heroku的我只有這樣做序列:

git init 
git add . 
git commit -m "init" 
heroku create 
heroku push heroku master 
heroku rake db:migrate 

我得到這個錯誤:

rake aborted! 
undefined method `sorcery' for 
#<Rails::Application::Configuration:0x0000000266e660> 
) 

請幫助我,我覺得寶石魔法造成這個問題,但我不知道該怎麼做。

你可以看到網站here

回答

0

請問你這項工作本地主機?

我看到這樣的命令的列表

bundle install 

是不存在的。

確保你在你的寶石文件

gem "sorcery" 

然後做

heroku login 

bundle install 

你可能會得到其他錯誤。請轉至Getting Started with Rails 3.x on Heroku並按照說明進行操作。

+0

謝謝,問題在於生產組中的寶石 – dexter00x