How do I run a Sinatra app using JRuby?

How do I run a Sinatra app using JRuby? RubyLearning is conducting a free, online JRuby 101 course – the first of its kind, on Google+ Some participants wanted an answer to their question “How do I run a Sinatra app using JRuby?” This blog post explains the same. Read on. Pre-requisite I have a Windows XP box but the following should work on Mac and Linux-based computers too. Ensure that you have already installed JDK 6, JRuby and set the relevant system environment variables path, classpath, JAVA_HOME and JRUBY_HOME.

Matt Aimonetti: Why on earth would you ignore Merb?

If you were to ask me, I’d say that Merb has caught the fancy of Rubyists around the world and it’s not just hype. Recently RL conducted a poll on new course offerings where 1000 Rubyists (from over 140 countries) voted. Over 30% requested for an Introductory course on Merb. RL’s Satish Talim caught up with Matt Aimonetti (a serious Ruby addict and Merb core team member) to learn more about Merb.

Can you help RubyLearning with your suggestions?

New Course Offerings We’re rapidly expanding our course offerings here at RubyLearning, trying to keep up with the enormous and ever-growing interest in Ruby. But we need your YOUR help because, as you know, Ruby is a big subject, and we’d like to be sure to focus in on the areas of most interest to you. A Note regarding the courses mentioned in the poll below: Ruby Testing and TDD: (starting from the concepts of testing in general, Test::Unit and other tools are discussed.

Best of RubyLearning Posts for Ruby Beginners

Here’s a digest of RubyLearning’s best posts for Ruby beginners. These include (with the latest posts first): Advise: David Flanagan talks to RubyLearning David Flanagan is the author of the book “The Ruby Programming Language”. David says that his book was written to be a definitive book on the language, and is intended for those who want to learn and master the language. He also offers insights on Ruby 1.9. Charles Nutter talks to RubyLearning Participants Charles Nutter currently works full-time as a core developer on JRuby at Sun Microsystems.

Using ActiveRecord and JDBC with JRuby - Part 2

Part 2

Continuing from where we left off in Part 1

Using ActiveRecord and JDBC with JRuby

Preamble

The participants of the FORPC101 series of courses have been requesting me for a small article related to JRuby; so here it is.

Charles Nutter talks to RubyLearning Participants

On the eve of the new JRuby Course announced by RubyLearning, Satish Talim of RubyLearning caught up with Charles Nutter, who was kind enough to spare time answering questions posed by the RubyLearning participants. Charles Nutter has been a Java developer since 1996. He currently works full-time as a core developer on JRuby at Sun Microsystems. He led the open-source LiteStep project in the late 90s and started working on Ruby in the fall of 2004.

Interview with Ola Bini – JRuby Core Developer

Ola
Bini

RubyLearning caught up with Ola Bini at Bangalore, India and talked to him about JRuby. Ola provides some insights for easy adoption of JRuby by the large pool of Java and Ruby developers in India.

JRuby Inside

Peter Cooper has done it again! Peter has just launched JRuby Inside a new “sister” site to his very popular Ruby Inside. JRuby Inside focuses just on JRuby.

Connect JRuby to MySQL using JDBC

JRuby is a 100% pure-Java implementation of the Ruby programming language that runs in the JVM. MySQL is a one of the most popular open source databases around and is used by many prominent organizations from Yahoo to NASA.

Internationalization in JRuby

I have been using and teaching Java since 1995. The other day, I was talking to my students about Internationalization in Java.

JRuby: Caffeinated Ruby

Recently, JRuby has been gaining more and more attention in the Java and Ruby communities. Java is a powerful platform and there are millions of lines of Java code being written each month, that the world will have to live with for a long time from now. By leveraging Java the platform with the power of the Ruby programming language, programmers get the best from both worlds. You better not ignore JRuby any more!