这个终端仿真器不起作用,因为没有找到'bash'shell - Aptana Studio

时间:2013-09-27 15:59:35

标签: ruby-on-rails ruby bash terminal aptana

尝试在Aptana Studio 3中打开终端时出现以下错误: 此终端仿真器不起作用,因为找不到“bash”shell。 请更正问题并重新启动IDE。

这是错误日志::

java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_ZW
Command-line arguments:  -os win32 -ws win32 -arch x86
!ENTRY com.aptana.terminal 1 0 2013-09-27 10:27:00.979
!MESSAGE Starting terminal process failed.
!STACK 1
org.eclipse.core.runtime.CoreException: Shell executable could not be found.
at com.aptana.core.ShellExecutable.getPath(ShellExecutable.java:113)
    at com.aptana.terminal.internal.configurations.WindowsMingwConfiguration.getCommandLine(WindowsMingwConfiguration.java:40)
    at com.aptana.terminal.internal.ProcessLauncher.launch(ProcessLauncher.java:38)
    at com.aptana.terminal.connector.LocalTerminalConnector.startProcess(LocalTerminalConnector.java:220)
    at com.aptana.terminal.connector.LocalTerminalConnector.access$0(LocalTerminalConnector.java:208)
    at com.aptana.terminal.connector.LocalTerminalConnector$1.run(LocalTerminalConnector.java:102)

!SUBENTRY 1 com.aptana.core 4 0 2013-09-27 10:27:00.980
!MESSAGE Shell executable could not be found.

!ENTRY org.eclipse.ui 4 0 2013-09-27 10:37:11.181
!MESSAGE Unhandled event loop exception
!STACK 0
org.jruby.exceptions.RaiseException: (Errno::EINVAL) =::
    at org.jruby.RubyHash.replace(org/jruby/RubyHash.java:1623)

有人可以告诉我如何解决它吗?我尝试卸载Aptana,然后再次安装,但同样的错误。

1 个答案:

答案 0 :(得分:0)

看起来bash不在你的PATH变量中。转到Control Panel - > System - > Advanced system settings - > Environment variables,然后编辑PATH并添加bash可执行文件所在的路径。之后你需要重新启动Aptana Studio。