Planet MySQL Planet MySQL: Meta Deutsch Español Français Italiano 日本語 Русский Português 中文
10 Newer Entries Showing entries 31 to 39

Displaying posts with tag: jruby (reset)

Rails/Ruby News - Resources, Tutorials, Adoption Stories
Employee_Team +0 Vote Up -0Vote Down

Trying to catch up a bit on Ruby/Rails/JRuby related news...

Two new NetBeans 6.1 Ruby tutorials: Getting Started With Ruby and Rails and Using Java Libraries in Rails Applications. The last topic is one of the big benefits of JRuby, one example is this report of …

  [Read more...]
TOTD #35: Rails Database Connection on Solaris
Employee +0 Vote Up -0Vote Down

Are you deploying your JRuby-on-Rails applications on Solaris (or any variety of Unix) and not able to connect to the database ?

I experienced it last week so thought of sharing the tip here. Luckily it's really simple.

Here is the default generated "config/database.yml"

  adapter: mysql
  encoding: utf8
  database: runner_development

  [Read more...]
Talkin' with Charlie and Tom, the JRuby Guys
+0 Vote Up -0Vote Down

Last week, at the end of JavaOne day one, I was able to grab the JRuby dynamic duo for a podcast.  Tom Enebo and Charlie Nutter turned out to be really nice guys, must be their midwestern roots, and were a pleasure to talk to (I also learned a lot :). 

My interview with Tom and Charlie (14:19)  Listen (

  [Read more...]
jMaki on Rails - Reloaded for NetBeans 6.1 beta & Rails 2.0
Employee +0 Vote Up -0Vote Down

NetBeans 6.1 Beta was released last week. Amongst the many improvements, one of them is the bundled JRuby 1.1 RC2 and Rails 2.0.2. The jMaki plugin used to work fine with Rails 1.2.3 but need to be updated because of changed file name extensions for the default generated views (".rhtml.erb" instead of ".rhtml"). With this release of …

  [Read more...]
TOTD #24: Getting Started with Rails 2.0.x in JRuby 1.0.3 and JRuby 1.1RC1
Employee +0 Vote Up -0Vote Down

This TOTD (Tip Of The Day) shows how to install Rails 2.0.x in JRuby 1.0.3 and JRuby 1.1 RC1. Then it describes how a simple Rails application can be created and deployed using WEBrick.

First, lets deal with installing Rails 2.0.x in JRuby 1.0.3 and JRuby 1.1 RC1.

Step 1: How to install Rails 2.0.x in JRuby 1.0.3 ?

  • Download and Unzip JRuby 1.0.3. This creates "jruby-1.0.3" directory.
  • Install Rails by giving the following command in the newly created directory:

    bin/jruby …

  [Read more...]
JRuby 1.0.3 + Rails 2.0 Hello World - Additional Steps Required
Employee +0 Vote Up -0Vote Down

JRuby 1.0.3
was recently released and so was Rails 2.0. I decided to try JRuby 1.0.3 + Rails 2.0 and realized that a few additional steps (because of Rails 2.0) are required to get a trivial Hello World applcation up and running. Here are the steps:

  1. Unzip JRuby 1.0.3.

  [Read more...]
TOTD #9: Using JDBC connection pool/JNDI name from GlassFish in Rails Application
Employee +0 Vote Up -0Vote Down

Using the instructions followed in JRuby Hack Day and taking some help from Nick, I figured out how to use the JDBC connection pools configured in GlassFish using the JNDI names.

All the commands given below are relevant for GlassFish but the same …

  [Read more...]
JRuby on Rails, NetBeans 6 and GlassFish V2 - Simplified Steps
Employee +0 Vote Up -0Vote Down

The NetBeans IDE has simplified the steps to deploy JRuby on Rails application on GlassFish. This blog explains the steps and is an update to screencast #web6.

  1. Download the install the latest NetBeans 6 Nightly. I downloaded the Ruby pack by clicking on the …
  [Read more...]
ActiveRecord-JDBC 0.5 - simplified database configuration
Employee +0 Vote Up -0Vote Down

ActiveRecord-JDBC 0.5 is now available. As mentioned earlier, one of the main features in this release is simplified database configuration for JRuby-on-Rails applications. From the release notes:

It is no longer necessary to specify :driver and :url configuration …

  [Read more...]
10 Newer Entries Showing entries 31 to 39

Planet MySQL © 1995, 2016, Oracle Corporation and/or its affiliates   Legal Policies | Your Privacy Rights | Terms of Use

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.