How to Get Started with ActiveRuby

Active Ruby

Ruby is an object-oriented programming language that is pretty dynamic. Just because of its dynamic nature it has been being used in a wide range of fields, but it is best known for developing Web Applications, because of the Ruby on Rails framework. ActiveRuby is currently on Ruby v2.3.4 & it includes over 40 popular gems and frameworks as we speak. So, you can now seamlessly install and manage ruby on windows which will help you to reduce configuration time as well as increase the productivity.

Ruby on rails developers can easily adopt the latest ruby distribution release internally to host any web application. To enhance security, the beta release of the language has fixed some issues of gem management. A set of non-GPL licensed gems has also been included in this new ActiveRuby version. All major libraries for database connectors such as MongoDB, PostgreSQL, Cassandra, Redis, and MySQL have also been included. Additionally, Activeruby beta has introduced cloud deployment capabilities with AWS this time which also includes all the necessary integration features for AWS. ActiveRuby is currently available for Windows only. The release for Mac and Linux is expected to roll out later in 2017, so, for the time being, you can download the beta version from the official ActiveState website.

 

Installing ActiveRuby on Windows

You can easily install ActiveRuby by downloading Setup (.exe) file from ActiveState website or you can run that setup in the command line as well.

Currently, Windows is the only supported platform for the beta release of ActiveRuby. Mac OS and Linux will be supported in future releases.

Prerequisites

Before you start the installation process, your system should meet the following requirements:

Windows 64-bit, Windows 7, or later

Requires at least 1 GB of HDD space

ActiveRuby Setup

Two ways to install ActiveRuby:

  • You can run the Setup Wizard and follow the rest of the process to install the software.
  • Or, you can easily run the Setup from the command line.

 

Running the ActiveRuby Setup Wizard

while installing ActiveRuby, you should run the it as an Administrator.

  • Download the .exe file.
  • Just Run that .exe file as an Administrator.
  • Just follow the remaining steps to complete the installation.

The good thing about running it as an Administrator is that this will allow other users on the system to use ActiveRuby, and it will also ensure that all of ActiveRuby’s features work correctly.

Via command line

You can also install ActiveRuby via command line. For that, you just need to start the command prompt as an Administrator just to ensure that the installation can complete successfully. As ActiveRuby’s installer uses Windows Installer technology, it will allow you to partially control the complete installation process from the command line itself.

Starting the Setup

You can easily start the Setup from the command line and then you just need to follow the installation steps as given in the user interface - that's it.

> ActiveRuby-<version>.exe

Logging: Setup Wizard

If you really don't want to enable logging, you can easily add appropriate command line switches so as to specify the level of logging and the log file location. The following command will automatically generate a log of the installation in install.log :

> ActiveRuby-<version>.exe /L*v ./install.log

 

Custom installation directory

You can also easily specify a custom installation directory instead of using the default.

> ActiveRuby-<version>.exe APPDIR=C:\apps\Ruby

 

 ActiveRuby: Uninstallation

The ActiveRuby for Windows can easily be uninstalled by using the Modify, Repair or Uninstall shortcuts that are present in the ActiveState ActiveRuby 2.3.4 program group in the Windows Start menu. Or, you can easily uninstall it via Control Panel.

Alternatively, you can uninstall ActiveRuby via command line:

c:\> ActiveRuby-<version>.exe /x // /L*v ./uninstall.log

Similar Articles

The Impact of AR & VR on the Media and Entertainment Industry

Harnessing the latest technology to create and distribute content is an ongoing process in the media and entertainment industry. Changes in consumer behavior and demands, along with continuous and rapid technological advancements, are reshaping the industry

Fleet Management: Common Hurdles and Their Solutions

In the modern, dynamic business environment, companies across the broad spectrum of sectors have become heavily dependent on vehicle fleets to sustain their activities. Whether it involves delivering crucial supplies, ferrying passengers, or supporting field service crews, effective fleet management is a fundamental pillar for success

Best Practices of Cloud Computing for Digital Transformation

It has been for everyone to see that we live in a rapidly evolving digital environment. It is also amply obvious that staying competitive in such a market is not just advantageous -- it is a must. To this end organizations across different industries are progressively embracing cloud computing as well as the extraordinary potential it brings along.

How to Overcome Common Challenges in Functional Testing?

Functional testing is the process that validates whether the software system functions as it has been designed and developed for. The process involves data inputs and the execution of tests that helps verify that the system performs and generates output as per expectation. 

Approach to Regression Test Automation

Software changes are the key reason for regression testing. Although regression testing is a resource-consuming process, automation makes it more efficient and reduces resource consumption. Regression test automation is a critical component in a software development cycle and ensures that any existing software tested earlier continues to perform as expected after modifications. 

Node.js vs Java - Understanding the difference between them

There are many backend technologies available today, but out of these, two technologies have emerged as popular choices amongst developers worldwide, Node.js and Java. While both technologies offer powerful solutions for building server-side applications, there are notable differences in their performance, architecture, and use cases. 

Why Businesses Should Choose Snowflake for Data Warehousing

Unless you have been hiding in a cave somewhere, you would know and realize that the world is creating information at a stunning speed. While it is  genuinely considered normal information that said data can now be turned into the groundwork of achievement for essentially any business in the present day and age.

software development services

Software development refers to the procedure of constituting and nourishing software applications. This provokes the utilization of many fundamentals and practices. Software development targets constitute structured, dependable, and beneficial software.

How to Design a Data Warehouse Step-By-Step: A Comprehensive Guide

Designing a data warehouse is a strategic activity that builds the groundwork for strong data management and analytics capabilities within a business. In today's data-driven world, the systematic creation of a data warehouse is not only a technical requirement but also a critical step in harnessing the power of information for informed decision-making.