通过 RVM 安装 Redcar

通过 RVM 安装 Redcar

我正在尝试使用 RVM 在 Ubuntu 上安装 Redcar。我读过无数关于它的文章,但仍然收到此错误消息。

我特别关注了这篇文章。 http://azazeal.xelixis.net/post/How-to-install-Redcar-editor-under-Ubuntu-1010-with-RVM.aspx

你们知道我在这里错过了什么吗?

atrosity@AtroBuntu:~$ redcar
Redcar 0.11 ( x86_64-linux )
java -Xbootclasspath/a:/home/atrosity/.redcar/assets/jruby-complete-1.5.3.jar -                   Dfile.encoding=UTF8 -Xmx320m -Xss1024k -Djruby.memory.max=320m -Djruby.stack.max=1024k org.jruby.Main /home/atrosity/.rvm/gems/ruby-1.8.7-p334@redcar/gems/redcar-0.11/bin/redcar --no-sub-jruby --ignore-stdin --start-time=1309244948
/home/atrosity/.rvm/gems/ruby-1.8.7-p334@redcar/gems/redcar-0.11/lib/redcar/runner.rb:44:in `exec': No such file or directory - java -Xbootclasspath/a:/home/atrosity/.redcar/assets/jruby-complete-1.5.3.jar -Dfile.encoding=UTF8 -Xmx320m -Xss1024k -Djruby.memory.max=320m -Djruby.stack.max=1024k org.jruby.Main /home/atrosity/.rvm/gems/ruby-1.8.7-p334@redcar/gems/redcar-0.11/bin/redcar --no-sub-jruby --ignore-stdin --start-time=1309244948 (Errno::ENOENT)
from /home/atrosity/.rvm/gems/ruby-1.8.7-p334@redcar/gems/redcar-0.11/lib/redcar/runner.rb:44:in `run'
from /home/atrosity/.rvm/gems/ruby-1.8.7-p334@redcar/gems/redcar-0.11/lib/redcar/runner.rb:80:in `construct_command'
from /home/atrosity/.rvm/gems/ruby-1.8.7-p334@redcar/gems/redcar-0.11/lib/redcar/runner.rb:43:in `run'
from /home/atrosity/.rvm/gems/ruby-1.8.7-p334@redcar/gems/redcar-0.11/lib/redcar.rb:81:in `spin_up'
from /home/atrosity/.rvm/gems/ruby-1.8.7-p334@redcar/gems/redcar-0.11/bin/redcar:32
from /home/atrosity/.rvm/gems/ruby-1.8.7-p334@redcar/bin/redcar:19:in `load'
from /home/atrosity/.rvm/gems/ruby-1.8.7-p334@redcar/bin/redcar:19

答案1

这里的关键语句是“exec”:没有这样的文件或目录 - java

查看此主题在 RedCar 邮件列表中。看起来你可能没有安装 Java。RedCar 是一个 JRuby 应用程序,因此你需要 Java 才能运行

Java Ubuntu 安装文档应该可以帮助您安装 Java。完成后,它应该可以正常工作

相关内容