Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!

Ruby

  • submit to reddit

How to Create a Sinatra App Using Glassfish

This is one user's unfamiliar experience of writing Java, and his discovery that native Java classes are easy to use in Jruby. Included is a short tutorial on using Glassfish to create a Sinatra App, as well as a useful, albeit in-depth, link to how to install Glassfish server on an Ubuntu server.

0 replies - 1325 views - 02/10/12 by Gareth Rushgrove in Articles

Journey to the Center of JRuby

An informative, in-depth post about the Java implementation of the Ruby interpreter. Pat Shaughnessy includes some background on both Java and Ruby, as well as other sections about byte code and assembly language. Best of all are the old-timey pics (and the plentiful code).

3 replies - 2046 views - 02/07/12 by Pat Shaughnessy in Articles

How To: Install graylog2 on CentOS 5 with RVM + Passenger

I decided to see if RVM – Ruby Version Manager – would allow me to setup an isolated Ruby environment just for graylog2 and not disturb the other Ruby apps on the machine. I also wanted to setup an isolated instance of Passenger-standalone for graylog2 then configure apache to listen on port 80 and forwarding requests with mod_proxy.

1 replies - 2741 views - 02/05/12 by Joe Miller in Articles

Why Every Ruby Developer Should Learn Smalltalk

No matter what kind of programming you are doing these days you probably heard a lot about Smalltalk. And there is a reason for that. Its influence on what we are doing and using right now is hard to overestimate. Refactoring, XP, TDD, many VM technologies...

2 replies - 1655 views - 02/02/12 by Victor Savkin in Articles

Is Programming Less Exciting Today?

As discriminatory as this is going to sound, this one is for the old-timers. If you started programming after the turn of the milennium, I don’t know if you’re going to be able to follow the trend of this post—not out of any serious deficiency on...

14 replies - 8166 views - 01/26/12 by Ted Neward in Articles

Installing Vagrant, on Ubuntu Natty

(Warning some Ubuntu ranting ahead) apt-get install virtualbox-ose apt-get install rubygems gem install vagrantThat's what I assumed it would take me to install vagrant on a spare Ubuntu (Natty) laptop. Well it's not. after that I was greeted...

0 replies - 2261 views - 01/01/12 by Kris Buytaert in Articles

Rails vs. Grails

I was recently asked the question: Rails or Grails? I needed to summarize the key differences and industry sentiment. This was my response.Before I make any subjective comments, let me start with some objective metrics I...

11 replies - 7760 views - 12/16/11 by Brian Oneill in Articles

Python vs Ruby: Maintainability

One of my favorite subjects is comparing and contrasting tools and frameworks available today. Python and Ruby are probably the big 2 languages right now in web development. Now, a language is less important than the framework. However, the language...

4 replies - 6463 views - 12/16/11 by Jeff Dickey in Articles

Neo4j Labs: Heroku, Neo4j and Google Spreadsheet in 10min. Flat.

Hi all, Last Friday, we were all labbing again - the best day of the week. I didn't have much time so I decided to try to produce a screencast that would measure the time required to go from nothing to flash using some of our tools.

0 replies - 2943 views - 12/07/11 by Mitchell Pronsc... in Articles

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-requisiteI have...

0 replies - 1694 views - 11/14/11 by Satish Talim in Articles

Stackato, a Private PaaS for Python, PHP, Java, and more, gets Management and Monitoring

I’ve been really positive about Cloud Foundry, seeing it as doing the sort of things for PaaS that OpenStack does for IaaS. If Cloud Foundry succeeds in its aim, Organizations will have a PaaS solution that they can use where they want, with whichever...

0 replies - 3196 views - 11/08/11 by Ben Kepes in News

I Make Tools and I Share

Sharing code with the community is a habit that every developer should have.  Yes, it does take work to put it up on GitHub, and yes it does mean that you'll have to write documentation and probably deal with bug reports.  But James Turnbull, the VP of Tech...

0 replies - 3564 views - 11/01/11 by Mitchell Pronsc... in Articles

Using AST Transformations to Write a Testing Library

Being a language geek I always try to write a library that will exercise the language I’m trying to learn more about. You know, something that will heavily use metaprograming or type-system tricks. One of those libraries you can write can be a testing...

1 replies - 2735 views - 10/11/11 by Victor Savkin in Articles

Why Developers Should Care About System Packages

First a bit of background. I’m a software developer (lately in Ruby and a tiny bit of Java, previously in Python, C# and PHP; yes I got around a bit), but have spent enough time looking after production hardware (mainly debian, solaris and recently a bit...

1 replies - 3220 views - 10/10/11 by Gareth Rushgrove in News

Java and Rails integration with JAX-RS and ActiveResource

ActiveResource makes it easy to integrate Rails applications through RESTful services, but what if the resource is being produced by a Java application. JAX-RS is the best bet for writing these resources and with a few tricks we can get a service to...

0 replies - 1564 views - 10/05/11 by Jacob Orshalick in Articles