2011-12-14 11 views
2

私はherokuアプリにモジュールをインストールしようとしています。これをローカルで実行すると(最初はheroku runを差し引いても動作しますが)、Herokuで実行しようとするとエラーが発生します。Herokuインストール用フレームワークモジュール

heroku run play install securesocial-0.2.2 

、ここでは、出力

... 
~ Do you want to install this version (y/n)? y 
~ Installing module securesocial-0.2.2... 
~ 
~ Fetching http://www.playframework.org/modules/securesocial-0.2.2.zip 
Traceback (most recent call last): 
    File ".play/play", line 153, in <module> 
    status = cmdloader.commands[play_command].execute(command=play_command, app=play_app, args=remaining_args, env=play_env, cmdloader=cmdloader) 
    File "/app/.play/framework/pym/play/commands/modulesrepo.py", line 58, in execute 
    install(app, args, env) 
    File "/app/.play/framework/pym/play/commands/modulesrepo.py", line 378, in install 
    Downloader().retrieve(fetch, archive) 
    File "/app/.play/framework/pym/play/commands/modulesrepo.py", line 88, in retrieve 
    try: urllib.urlretrieve(url, destination, self.progress) 
    File "/usr/local/lib/python2.7/urllib.py", line 91, in urlretrieve 
    return _urlopener.retrieve(url, filename, reporthook, data) 
    File "/usr/local/lib/python2.7/urllib.py", line 241, in retrieve 
    tfp = open(filename, 'wb') 
IOError: [Errno 2] No such file or directory: u'/app/.play/modules/securesocial-0.2.2.zip' 

これを行うための適切な方法は何ですか?私は検索してきましたが、私はそれに関する文書を見つけることができません。

答えて

3

英雄を使用していないことがありますが、おそらくこのstep by step tutorialがあなたを助けてくれるかもしれません。

+0

ありがとうございます! Herokuは自動的に依存関係を解決するように見えます。 – Joel

1

モジュールをローカルに追加した後、gitに加えられた変更を追加してから、新しいバージョンのアプリケーションをHerokuにプッシュする必要があります。

関連する問題