Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/templates/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Rails资产预编译:分段错误+;Ruby 1.9.3p392_Ruby_Ruby On Rails 3_Capistrano_Asset Pipeline - Fatal编程技术网

Rails资产预编译:分段错误+;Ruby 1.9.3p392

Rails资产预编译:分段错误+;Ruby 1.9.3p392,ruby,ruby-on-rails-3,capistrano,asset-pipeline,Ruby,Ruby On Rails 3,Capistrano,Asset Pipeline,我正在使用Capistrano将一个简单的rails应用程序部署到SUSE服务器。当下面的钩子执行时部署 after "deploy:update_code" do run <<-CMD cd #{current_release} && RAILS_ENV=#{rails_env} bundle exec rake assets:precompile --trace CMD end 在我的GIST中找到完整的跟踪,Gemfile也在其中 任何帮助都

我正在使用Capistrano将一个简单的rails应用程序部署到SUSE服务器。当下面的钩子执行时部署

after "deploy:update_code" do
  run <<-CMD
  cd #{current_release} &&
   RAILS_ENV=#{rails_env} bundle exec rake assets:precompile --trace
  CMD
end
在我的GIST中找到完整的跟踪,Gemfile也在其中


任何帮助都会非常有用。

也许可以尝试之前版本的therubyracer。在您的文件中:

gem 'therubyracer', '0.11.3'

也许可以试试之前版本的therubyracer。在您的文件中:

gem 'therubyracer', '0.11.3'

我建议您从GEM文件中删除therubyracer并安装为javascript运行时,不要再担心它


rubyracer往往会带来很多麻烦和麻烦。

我建议您从GEM文件中删除rubyracer,并安装为javascript运行时,不要再担心它


rubyracer往往会带来很多麻烦。

我从Gemfile中删除了rubyracer,只使用了Node.js。成功了!!!谢谢,我从Gemfile中删除了rubyracer,只使用了Node.js。成功了!!!谢谢