Learn the new features of NetBeans 6 by example part 5th: Ruby on Rails development environment

Source: Internet
Author: User
Tags command line new features ruby on rails netbeans

The improved Ruby development environment in NetBeans 6.1

The NetBeans 6.1 Chinese version, released early this month, offers a number of new and extended features such as high-performance, JavaScript Editor extensions, Spring framework unification, and Easy-to-use MySQL support. For more information about new and extended features of NetBeans 6.1, see the following:

NetBeans IDE 6.1 Information: http://www.netbeans.org/community/releases/61/index_zh_CN.html

You can download the relevant software from the download site, each feature has a corresponding installation program:

NetBeans 6.1 Download http://zh-cn.netbeans.org/download/6.1/ml/

Install the JDK prior to installing NetBeans, see part 1th, Introduction:

The 1th part, foreword: http://developers.sun.com.cn/Java/nb6_200802.html

The performance of Ruby and Ruby on Rails has been greatly improved, and the operating environment has been greatly enhanced, for example, the JRuby version has been upgraded to 1.1, and Rails has been upgraded to 2.0.2. In this article, we'll use NetBeans 6.1来 to introduce the Ruby on Rails development environment.

Features of the Ruby/ruby on Rails development environment in NetBeans

The Ruby support provided by NetBeans is very easy to use, and the Rails environment needs to be set up. If you select the NetBeans Ruby package, the JRuby running environment and the Rails Runtime environment will be installed automatically.

NetBeans does not only support the JRuby environment, but it can be switched on if there is a Ruby running environment in NetBeans's operating system. If you use the Ruby platform manager imported by NetBeans 6.1, the Ruby Runtime environment can search for itself, log in, and switch the ruby running environment according to your project. The Ruby platform Manager, like the Java platform Manager, manages several Ruby runtime environments, which operate as follows: Tools > Ruby Platform.

Figure 1 Ruby Platform Manager

The biggest feature of NetBeans's Ruby development environment is that all operations can be done in NetBeans without running Rails commands on the command line. Updates to plug-ins such as gems and Rails are also available in the NetBeans dialog box.

The Gem Manager can perform gem installation, update, and uninstall operations on each platform. Method: "Tools" > "Ruby Gems".

Figure 2 the Gem Manager

The Rails Plugin dialog box is used to manage the available rails plug-ins, please select the Rails plugin in the Rails project context menu.

Figure 3 Rails Plug-in Manager

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.