The current Rails Gem (version 1.2.5) gives an error when
creating a Controller in a JRuby-on-Rails application on Windows. It gives the
following error during controller creation as shown below:
C:/testbed/ruby/jruby-1.0.1/lib/ruby/1.8/pathname.rb:420:in `realpath_rec': No such file or directory -C:/testbed/ruby/jruby-1.0.1/samples/rails/hello/C: (Errno::ENOENT)<br>  ...
Sun Microsystems is a gold sponsor
of Web 2 Summit (nee Web 2.0
Conference). Registration to this conference by invitation only. If
you are an attendee, here is one session that you don't want to
Betting on OpenSolaris for Success
In this session, Sun Chief OS Platform Strategist
Murdock, Joyent CTO
Hoffman and Director of Systems Ben Rockwood will...
previous entry, I posted instructions on how to setup Mongrel cluster
for JRuby-on-Rails applications on Unix-based systems. The instructions
specified there do not work on Windows-based systems because of the
JRuby 1.0.1 + (default) Rails Gem (version 1.2.4) does not work on
Windows because of
JRUBY-1401. An older Rails version (such as 1.2.3) can always be...
explains the steps to setup a Mongrel
cluster for JRuby-on-Rails applications
on a Unix flavor operating system. These instructions do NOT work on Windows. A
similar post for Windows is cooking and will be posted when ready.
and unzip the bundle (say JRUBY_HOME).
For convenience, include JRUBY_HOME/bin to
Install the required RubyGems
This Sample application demonstrates the usage of JRuby and Rails to implement pagination of data sets for an Online Store Catalog.
I just made a few more widgets available for the jMaki framework.
Are you an existing GlassFish V2
user and interested in using Rails applications ? -
JRuby module is
now available on the
Update Center. This module allows you to create standalone or
shared WAR of a Rails application that can be easily deployed on
GlassFish. Read the complete details
A screencast following these steps is available
A jMaki widget
expects data in JSON format as defined by the
models. There are three possible ways to generate the JSON data from a
Jersey endpoint that can be consumed by a jMaki widget:
Return JSON representation of a resource as generated using the
BadgerFish convention and then
apply a stylesheet (specified in xhp.json) to convert the
received data into the JSON format as...
I created a simple app as a demo that uses Google Gears for local storage and also sends data to the server upon user request. I showed this at AjaxWorld where there was alot of interest so I decided I would blog about it.
The question about paging through data in a table comes up enough that I decided to answer in a blog.
Day 3 started with reminders about
RubyConf 2007 and
Euruko. Marcel and Koz (from
Rails core team) gave the
keynote talking about the best practices for Rails (theRailsWay.com).
Here are some of the tips they explained:
If a controller has more than 6 or 7 actions, and each action > 6-7
lines then there is something wrong. More details
Associations proxies are...
Day 2 started with regular announcements and keynote by DHH. The
demographic distribution of approximately 750 attendees was shown in the
filler slides right before the keynote:
The technical sessions and BoFs started today and the exhibit hall was opened
as well. Sun booth...
Arrived in Berlin 2 days ago for
Rails Conf Europe. Sun Microsystems
is a diamond sponsor and you can meet me at the "Rails
powered by jMaki and
GlassFish" booth in the
Exhibit Hall. You can read about overall Sun's presence
I realized in the morning that my Full Conference pass did not account for
any of the tutorials. And all of them were completely sold out with...
The support for Rails in
NetBeans IDE has improved considerably in the past few days.
Ludo have been
on ramping up the jMaki NetBeans module
as well. This screencast is an update to
#web2 and shows how the development experience for creating a jMaki-enabled
Rails application is drastically simplified.
The screencast shows how a
and Dojo DataTable widget can...
Finally it's being done - jMaki's publish/subscribe message-bus extends to the server!
Jerome has been
working on GlassFish gem for
Rails. Read the interesting discussion on
dev@glassfish. This blog announces a technology preview of this gem and
describes the steps to try it out.
Download GlassFish Gem from
If you already have JRuby on Rails configured, then skip this step.
Otherwise you need to install JRuby on Rails.
Download and Unzip JRuby 1.0.1 from
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 concept
will work where ever you deploy your WARed up JRuby
on Rails application.
Follow the bullet #1 and #2 from
here to create a new...
This blog describes how to use jMaki actions and events to drive behavior or data in widgets. I will build a simple end to end application that shows the main concepts of widgets driving widgets (behavior) and also getting data from a server when needed.
off 2007-2008 Tech Days
and marks the 10th anniversary of the developer event. This blog celebrates the
decade by announcing "Sun Tech Days Event Map" - a real-life
using jMaki. It allows you to choose the
date on a web page using a rich calendar widget, shows the city where
Sun Tech Days event is
happening during that month and then shows that city...