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

Saas migration process

The adoption of cloud technologies around the world has changed the way software is consumed. Organizations now care more about agility and systems that scale with their business.

How Manufacturing Front Office Automation Systems Are Transforming Visitor Entry Management

Modern industries are rapidly adopting digital transformation across operations, and manufacturing is no exception

The financial services industry is evolving. Banks, hedge funds, Fintech startups, etc. are all leveraging technology and implementing more sophisticated computational processes to keep up with the influx of information.

Data Modernization Strategy

Information has become a critical resource in today’s business world. Businesses have been amassing large quantities of information over years but sometimes struggle to put it to use.

Financial Software Development

Financial services are being reshaped by digital-first customer expectations, stricter regulations, rising fraud risks, and intense competition from fintech innovators.

 Test Case Design Techniques

Software systems today are more complex than ever before. Applications are expected to work smoothly across different devices, handle large amounts of data, and respond quickly to user actions

How Robotic Process Automation Drives Business Efficiency

The market today is a competitive landscape. And that holds true for the broad spectrum of industries worldwide. Anyway, what I am getting at it is that organizations are under increasing pressure to optimize operational costs but without compromising accuracy and speed.

Common Challenges in Cross Platform App Development and How to Solve Them

It has become abundantly clear to the market that a mobile presence is no longer a luxury for companies. Rather it is a necessary condition for business scalability today.

Cloud Managed Services vs On-Premise IT: Key Comparison

Times have changed and how! Take modern technology and the fast-paced digital economy, it is driving.