ruby

Red Hat Software Collections 2.3 now beta

Red Hat Software Collections 2.3 now beta

Today, Red Hat announced the beta availability of Red Hat Software Collections 2.3, Red Hat’s newest installment of open source web development tools, dynamic languages, and databases. Delivered on a separate lifecycle from Red Hat Enterprise Linux with a more frequent release cadence, Red Hat Software Collections bridges developer agility and production stability by helping to accelerate the creation of modern applications that can then be more confidently deployed into production.

New additions to Red Hat Software Collections 2.3 Beta include:

Continue reading “Red Hat Software Collections 2.3 now beta”

Share
Using API keys securely in your OpenShift microservices and applications

Using API keys securely in your OpenShift microservices and applications

In the microservices landscape, the API provides an essential form of communication between components. To allow secure communication between microservices components, as well as third-party applications, it’s important to be able to consume API keys and other sensitive data in a manner that doesn’t place the data at risk. Secret objects are specifically designed to hold sensitive information, and OpenShift makes exposing this information to the applications that need it easy.

In this post, I’ll demonstrate securely consuming API keys in OpenShift Enterprise 3. We’ll deploy a Sinatra application that uses environment variables to interact with the Twitter API; create a Kubernetes Secret object to store the API keys; expose the secret to the application via environment variables; and then perform a rolling update of the environment variables across our pods.

Continue reading “Using API keys securely in your OpenShift microservices and applications”

Share

Are “Web Components” in the future for PatternFly?

Web development has become increasingly complicated in recent years.  The questions of which framework to use often can eat up much time at the start of a project.  I can’t remember the number of times people have asked me while working on a Knockout project if I’ve heard of Durandal, or when considering Angular 2 – what about React/Flux or Aurelia?

Patternfly is a community project that promotes design commonality and improved user experience. Its offerings include open source code, patterns, style guides and an active community that helps support it all. But, this complexity, choosing web frameworks, also affects PatternFly.  Our goal is “to build a UI framework for enterprise web applications”.  That requires that we remain outside of the discussion of which framework is best and provide a solid set of patterns and designs for developers to rely on.

How can you build a UI framework when there are so many choices and so many strong feelings about the different choices?  In my opinion, it’s important for developers to choose the framework that is best for the project and fits their skill set.  There isn’t one choice that works for everybody and it’s important that we support all developers that want the benefit of well-designed components that can be used in enterprise applications.

Continue reading “Are “Web Components” in the future for PatternFly?”

Share
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
Repost: Software Collections: Ruby – ScriptScribe

Repost: Software Collections: Ruby – ScriptScribe

Ruby logosoftwarecollections-logo-colorful

Scott Merrill does an awesome job describing his experiences with the Red Hat Software Collection for Ruby.  But his code is even cooler – be sure to check it out!  Thanks, Scott!


CoverMyMeds sat in an odd technology intersection when I started here. We were a Red Hat Enterprise Linux customer, greatly valuing the long life of the platform. But we were also a web development shop writing applications primarily in Ruby, a language that evolves quickly. Red Hat Enterprise Linux 6, released at the end of 2010, shipped with Ruby 1.8.

In order to enjoy newer Ruby versions on our RHEL 6 servers, we had been using RVM, the Ruby Version Manager. RVM is a fine solution for managing multiple versions of Ruby. However, I had two major complaints against it on our production servers. First, we had very little need for multiple versions of Ruby on our production servers. Second, RVM compiles the target Ruby version(s) from source, which

Continue reading “Repost: Software Collections: Ruby – ScriptScribe”

Share
Red Hat Software Collections 2 – now generally available

Red Hat Software Collections 2 – now generally available

Excellent news – Red Hat has announced the general availability of Red Hat Software Collections 2.softwarecollections-logo-colorful

You’ll see considerable additions to support multiple language versions. For example, it includes updates to “Python 2.7, continues to support Python 3.3 and also adds Python 3.4 – providing a fully-supported language library and blending developer agility with production stability.”

Continue reading “Red Hat Software Collections 2 – now generally available”

Share

Asciidoctor on OpenShift

Asciidoctor encompasses and builds an ecosystem around Asciidoc for writing documentation, and well, writing anything.   If you want to host your own blog, documentation site, book, ect.., Asciidoctor would be an excellent choice.  If you want to do that in OpenShift, that is what I’m going to help you with.

Getting Started

Create a Sinatra ruby gear or on the command line.

rhc app create mydocs sinatra ruby-2.0

Continue reading “Asciidoctor on OpenShift”

Share