ruby on rails

Containerize your Ruby on Rails/PostgreSQL application with RHSCL Docker images

Containerize your Ruby on Rails/PostgreSQL application with RHSCL Docker images

New RHSCL-based Docker images that are now in beta let you easily build your own application containers even without writing any Dockerfiles. Here is an example of a Ruby on Rails application built with the Ruby 2.2 image using the PostgreSQL 9.4 image as a database backend.

Continue reading “Containerize your Ruby on Rails/PostgreSQL application with RHSCL Docker images”

Share
Red Hat Software Collections 2.0 Docker images, Beta release

Red Hat Software Collections 2.0 Docker images, Beta release

I’m very happy to announce that Docker images based on collections from Red Hat Software Collections (RHSCL) 2.0 are in beta testing.  The images are available from the Red Hat Container Registry, and we’ve got the set of collections for language, databases and web servers covered – a complete list is below.

If you’ve not tried out the Docker package from RHEL7 Extras, you need to enable the Extras channel, install the docker page, and start the docker service; an extended guide for RHEL Docker is available here.  Once you are set up, pulling the RHSCL Docker images is very simple… for example, you can fetch the Python 3.4 image as follows:

Continue reading “Red Hat Software Collections 2.0 Docker images, Beta release”

Share

Because Red Hatters are Rubyists too

If Ruby development is your thing, here at Red Hat we understand why. We make use of Ruby and Ruby on Rails in our products and provide a range of tools to get your Ruby applications up and running. Also, we offer you the opportunity to take your Ruby skills a little further, as we have projects you can get involved in.

Ruby logo

Read on to discover how we use Ruby in OpenShift by Red Hat®, our Platform-as-a-Service (PaaS) portfolio that includes hosted, on-premise, and community offerings. Then see how we support your Ruby coding in Red Hat Enterprise Linux®, and with Red Hat Software Collections, helping you get your applications up and running in the cloud with OpenShift by Red Hat. Finally, you’ll find out how the OpenShift Origin project can use your Ruby skills, so you can contribute to this global, free software project.

Continue reading “Because Red Hatters are Rubyists too”

Share

Ruby on Rails 3.2 on Red Hat Enterprise Linux 6 with Software Collections

While Red Hat Enterprise Linux is known for its stability and flexibility, you might not think of it first when looking for the latest version of your web application framework. If you’re a developer working with Ruby and Ruby on Rails, you probably want to take advantage of their new features. Sure, you can use RVM, but sometimes you just want to get supported system packages.

Software Collections (often abbreviated as SCL) allows you to run more recent versions of software than what ships with your current version of Red Hat Enterprise Linux. This article will show you how to start development of a Rails 3.2 application running on Ruby 1.9.3 – all on RHEL 6, using only RPM packages, alongside your default Ruby installation. This tutorial assumes that you are familiar with Ruby on Rails basics, such as creating a new application and using bundler. It is also beneficial (although not necessary) to understand how Software Collections work in general.

Continue reading “Ruby on Rails 3.2 on Red Hat Enterprise Linux 6 with Software Collections”

Share