`

Eclipse中集成Aptana+RadRails

阅读更多

Aptana+RadRails,将其以插件的形式集成到Eclipes3.2中 参考: http://www.radrails.org/download_rails_rdt.php)

参考了网上的一些相关文章,我搭建起了开发环境。具体做法如下:
(1)、安装Ruby
    到http://www.ruby-lang.org/en/下载最新的Rub安装版本ruby186-25.exe,安装默认为:C:\ruby。安装成功后,在DOS下输入gem install rails --include-dependencies 远程下载Rails安装。
(2)、安装Aptana+RadRails插件
     打开Ecplips3.2选择工具栏中的Help->Software Updates->Find and Install…,弹出对话框(Install and Update),选择Search new features to install,点击下一步。
  点击New Remote Site,建立新的远程安装路径:
        Aptana
Name:Aptana (根据个人喜好取名) URL:http://update.aptana.com/install/3.2/
         RadRails
Name:Rails Support URL:http://update.aptana.com/install/rails/3.2/
点击Finish。等待Aptana+RadRails安装完成后,重起Eclipse3.2
注:具体设置请参考Aptana官方网站(http://www.radrails.org)
(3)、Eclipse下的RadRails参数配置
           A.       选择Window->refernces->Ruby->Installed Interpreters,点击Add,设置RubyVM home directory为Ruby的所的根目录(先前的Ruby安装路径),我这里是C:\ruby。RubyVM display name 任意设置。点击OK完成。
           B.        选择Window->refernces->Raiils->Configuration,设置Rails Path为C:\ruby\rails,
设置Rake Path为C:\ruby\rake。点击Apply->OK。具体的路径设置根据你的ruby安装路径来调整。
至此,Rails WEB开发环境就搭建完毕。可以顺利使用了。!
分享到:
评论
1 楼 weskycn 2008-11-07  
欣赏了

相关推荐

Global site tag (gtag.js) - Google Analytics