0

Railsアプリをプリコンパイルしようとしていますが、フォローする方法がわからないという奇妙なエラーが発生しますか?

rake Assets:precompile --trace

** Invoke assets:precompile:all (first_time)
** Execute assets:precompile:all
** Invoke assets:precompile:primary (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Invoke tmp:cache:clear (first_time)
** Execute tmp:cache:clear
** Execute assets:precompile:primary
rake aborted!
Permission denied - /123
/Users/philip/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/fileutils.rb:247:in `mkdir'
4

1 に答える 1

1

/123/保護されたディレクトリである可能性が高いアプリを作成しています。あなたは本当にあなたのホームフォルダ内にあなたのアプリを作成しているべきです。

ただし、強制したい場合は、/123実行することができsudo rake assets:precompile、それは機能します。

于 2012-11-08T18:29:47.780 に答える