Windows 上的 aptana Studio 终端设置 [英] aptana studio terminal setup on windows

查看:23
本文介绍了Windows 上的 aptana Studio 终端设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是在 Rails 上学习 ruby​​ 并尝试将其配置为在 windows 7 x64 和 aptana studio 上工作.

我已经使用 rails installer 安装了 ruby​​ 1.9.2,并且命令在常规 Windows 命令行中运行.

但是当我尝试使用 aptana 的终端窗口时,我收到以下错误:

<块引用>

$ bundle sh.exe":/c/RailsInstaller/Ruby1.9.2/bin/bundle:C:/Projects/railsinstaller/stage/Ruby1.9.2/bin/ruby.exe:坏解释器:没有那个文件或目录

如何从终端发出命令?

解决方案

您是否安装了 Git?我相信必须安装工作室中的终端才能工作.所以先去:

http://code.google.com/p/msysgit/ 然后点击在 Windows 版 Git 上.>

完成这些步骤,一旦 Gitbash 可用,它就可以工作了.如果没有,我也有其他想法.

<小时>

更新

看看你的 bundle 命令试图到达的地方,那真的是路线吗?我的是 c:/Ruby192/etc.尝试重新安装到该路由并从专门用于 Windows 的主网站(我知道,很奇怪)获取它 http://rubyinstaller.org/downloads/ ,版本 1.9.2-p290.不要得到 1.9.3,Windows 上的错误很常见.我也不得不经历这样的问题.然后确保你也安装了 Devkit.所以你的步骤应该是

  1. Ruby 安装
  2. 捆绑和
  3. 开发工具包

我把我的 Devkit 放在 C:/Devkit 而我的 Ruby 是 C:/Ruby192.在安装 Ruby 时,Windows 是一个很好的角落,完全删除所有内容并重新安装为我做到了.既然这样做了,如果没有的话,我有了其他想法.

I'm just learning ruby on rails and try to configure it to work on windows 7 x64 and aptana studio.

I've installed ruby 1.9.2 with rails installer and commands are working from the regular windows command line.

But when I'm trying to use aptana's terminal window I'm getting the following error:

$ bundle sh.exe": /c/RailsInstaller/Ruby1.9.2/bin/bundle: C:/Projects/railsinstaller/stage/Ruby1.9.2/bin/ruby.exe: bad interpreter: No such file or directory

How can I make commands to work from terminal?

解决方案

Do you have Git Installed? I believe that must be installed for the Terminal in the studio to work. So first go to:

http://code.google.com/p/msysgit/ and then click on Git for Windows.

Go through the steps and once Gitbash is available it may work. If not I have other ideas too.


UPDATE

Looking at where your bundle command is trying to get to, is that really the route? Mine is c:/Ruby192/etc. Try re-installing to that route and get it from the main website ( I know, weird) that is specifically for windows http://rubyinstaller.org/downloads/ , version 1.9.2-p290. Don't get 1.9.3, bugs on Windows are frequent. I had to go through issues like this too. Then make sure you install the Devkit also. So your steps should be

  1. Ruby install
  2. Bundle and
  3. Devkit

I put my Devkit at C:/Devkit and my Ruby is C:/Ruby192. Windows is pretty corner when it comes to installing Ruby, A complete deleting of everything and re-installing did it for me. Since what that does, if nothing, I got other ideas.

这篇关于Windows 上的 aptana Studio 终端设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆