Ruby on Rails

Install Ruby On Rails with NetBeans

Rails recently went to 2.0 and the jruby that comes with netbeans does not seem to like it. Thus, ugliness:
  1. Install NetBeans 1.0.1. You might have to erase ~/.netbeans*
  2. Go to Tools->Plugins then update. Quit.
  3. Download and install jruby 1.0.3.
  4. Start netbeans then create a new ruby on rails project:
    1. Select jRuby but set it to use the 1.0.3 binary.
    2. Update to rails 2.0
    3. Install JRuby openssl support.
    4. Select javaDB if you want to use derby (didn't work well for me: could not update).
  5. Copy derby.jar from glassfish subdir to netbeans/ruby1/jruby/lib (the database.yml file will remind you of this step.)

José M. Vidal .

2 of 16