发行rake资产:使用Rails 3.2进行预编译

时间:2012-02-21 18:31:02

标签: ruby-on-rails ruby-on-rails-3.1 rubygems rake

我正在使用Rails 3.2,但是当我使用rake assets:precompile时,它会生成此错误。无法弄清楚为什么会产生这个错误。以及如何解决它。

cp -r /home/nazar2/.rvm/gems/ruby-1.9.2-p290@3.2/bundler/gems/tinymce-rails-f7dd26ee75b5/assets/precompiled/tinymce /path_to_app/public/assets
/path_to_app/new/orthomind/config/Gemfile not found
rake aborted!
Command failed with status (10): [/home/nazar2/.rvm/rubies/ruby-1.9.2-p290/b...]
/home/nazar2/.rvm/gems/ruby-1.9.2-p290@3.2/gems/rake-0.9.2.2/lib/rake/file_utils.rb:53:in `block in create_shell_runner'
/home/nazar2/.rvm/gems/ruby-1.9.2-p290@3.2/gems/rake-0.9.2.2/lib/rake/file_utils.rb:45:in `call'
/home/nazar2/.rvm/gems/ruby-1.9.2-p290@3.2/gems/rake-0.9.2.2/lib/rake/file_utils.rb:45:in `sh'
/home/nazar2/.rvm/gems/ruby-1.9.2-p290@3.2/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb:39:in `sh'
/home/nazar2/.rvm/gems/ruby-1.9.2-p290@3.2/gems/rake-0.9.2.2/lib/rake/file_utils.rb:80:in `ruby'
/home/nazar2/.rvm/gems/ruby-1.9.2-p290@3.2/gems/rake-0.9.2.2/lib/rake/file_utils_ext.rb:39:in `ruby'
/home/nazar2/.rvm/gems/ruby-1.9.2-p290@3.2/gems/actionpack-3.2.0/lib/sprockets/assets.rake:9:in `ruby_rake_task'
/home/nazar2/.rvm/gems/ruby-1.9.2-p290@3.2/gems/actionpack-3.2.0/lib/sprockets/assets.rake:17:in `invoke_or_reboot_rake_task'
/home/nazar2/.rvm/gems/ruby-1.9.2-p290@3.2/gems/actionpack-3.2.0/lib/sprockets/assets.rake:25:in `block (2 levels) in <top (required)>'

我很震惊,任何人都可以帮我诊断这个问题吗?

注意:我测试了它不是tinymce-rails gem错误,因为我试图将它从整个应用程序中删除但仍然会产生相同的错误。

0 个答案:

没有答案