ActiveState Ruby is Now Available

ActiveState Ruby
We’re proud to announce that ActiveState Ruby is now available for download from the ActiveState Platform. Currently in Beta, you can download a recent version of Ruby for either Windows or Linux:

No matter which version you choose, you’ll need a free ActiveState Platform account in order to fork a copy of ActiveState Ruby into your own account, and then install it using the provided command line snippet.

Note that If you click on the Configuration tab of your forked project, you’ll see that ActiveState Ruby includes Rails, along with 17 other popular, third-party Ruby gems and all their dependencies. While Ruby was originally released in the mid-90’s as a high-level, interpreted language, it didn’t really catch on until ten years later when the Rails framework forever changed the way developers worked with Ruby:

Ruby Ruby on Rails
What is it? A language A framework
What inspired it? Perl and Smalltalk Python’s Django web framework
What language is it written in? C Ruby
Primary Use Case? Desktop apps Data-driven web apps

.

Almost overnight, Ruby on Rails (RoR) became the darling of web developers everywhere because of how simple it suddenly became to create database-backed web applications. Primarily for this reason, Ruby has continued to rank in the top 15 languages for the past fifteen years, and currently drives popular sites from Basecamp and GitHub to Shopify and AirBnB.

Ruby On Rails for Web App Development

RoR remains popular today because it combines the ease of use of the Ruby programming language with Rails’ powerful web framework to provide developers with a simple way to create web applications quickly and easily.

For example, RoR enforces a Model-View-Controller (MVC) architecture that centralizes the business logic of web applications while compartmentalizing the incoming actions and outgoing display updates:

MVC Architecture 

  • Model – contains the logic of the web application, as well as the essential data. A RoR Model can be as simple as a single table in a database and a Ruby file.
  • View – the UI that users see and interact with via a browser. RoR Views are erb files, which allow you to embed Ruby code in an HTML document. 
  • Controller – the server-side component that connects your Model to your View using routes, which allow for RESTful create, edit, update, etc actions. Mapping of incoming requests/routes to controller actions is done in a routes.rb configuration file.

It’s this kind of template model that makes RoR so efficient when it comes to prototyping web apps quickly. 

Why Ruby From ActiveState?

ActiveState Ruby is available for both Linux and Windows. While Ruby on Windows has gotten much better in recent years, you may still see “Not found” errors due to the PATH being set incorrectly or dependencies (especially native dependencies) being misconfigured. These are the kinds of errors that ActiveState Ruby is designed to eliminate through the use of our universal package manager, the State Tool, which not only sets your PATH and manages installation of dependencies, but also automatically creates a virtual environment on install to ensure you can run multiple versions of Ruby without conflicts. 

ActiveState Ruby is available via the ActiveState Platform, which provides Ruby developers with a number of additional advantages, including:

  • Secure Build Service – all gems are automatically built from source code (including linked C libraries) for Windows and Linux using a tamper-proof build service that ensures the security, integrity and reproducibility of all gems. 
    • Avoid having to create and maintain your own local build environments.
  • Shared EnvironmentsActiveState provides a single source of truth for your Ruby environment that can be centrally managed, installed and updated by all team members with the proper access permissions.
    • Eliminate “works on my machine” issues, and help ensure environment reproducibility.
  • Restorable Environments – The ActiveState Platform has its own catalog of over 100,000 of the most popular Ruby gems pulled from public repositories like rubygems.org. A git-like commit is created every time you add or remove a gem from your Ruby environment allowing you to restore any commit at any time without worrying about transitive dependencies being deleted or getting corrupted over the years. 
    • Instantly recover corrupted environments or recreate the environment of older versions of your product so you can still troubleshoot reported bugs.
  • Vulnerability Reports & Notifications – ActiveState tracks the vulnerability status of your Ruby project and displays status updates, provides PDF reports and generates email notifications whenever a vulnerability is discovered in a gem. You can then choose an updated version of the vulnerable gem(s) and rebuild your environment in minutes.
    • Reduce time to remediation from days to hours.
  • Dependency Management – The ActiveState Platform includes a dependency solver  that automatically resolves gem dependencies, identifies conflicts, and provides instructions on how to manually work around them. You can also create sets of inheritable dependencies using the included parent-child branching functionality.
    • Escape Dependency Hell and simplify the management of dev, test and production environment branches.

See how it works:

Next steps:

You can get started with ActiveState Ruby for free, with advanced functionality provided via a self-serve or a managed subscription. With managed subscriptions, ActiveState will monitor, upgrade/remediate your runtime environment, and ensure all gems build successfully so your developers can focus on more value-added tasks.

If you’d like to understand more about the advantages of working with ActiveState Ruby:

Get a Personalized Demo >

Recent Posts

Webinar - Walking Dead Past Python EOL
Walking Dead Past Python EOL

With Red Hat dropping Python 2 support, more organizations will be stuck maintaining zombie legacy apps. Stop racing against EOL dates and letting bad practices infect your new projects. Get current and stay current with the latest open source language versions.

Read More
Scroll to Top