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

UFT Test Automation Frameworks: What You Need to Know

As the importance of software continues to grow, there are several factors whose influence have grown right along with it. And out of all of them, test automation frameworks have garnered their fair share of attention from the market. Why is that?

Top Ways in Which EHR Systems Enable Better Patient Care

Electronic Health Records system offers benefits that have enabled an industry as tricky as healthcare. The software allows for medical professionals and other professionals across the ecosystem to quickly input as well as access information about a patient.

Why You Should Choose Angular to Build Web Apps

Development, while eventually rewarding, can be a very tedious process. But that’s the thing about technology; it always manages to find a solution, no matter the problem. So, in the context of development, experts came up with frameworks that would help programmers do away with tedious and arduous coding practices.

Issue Tracking System in DevOps

DevOps and Agile approach in an organization is not merely an implementation of certain tools and techniques, instead, it is cultural change. Many organizations in the software industry have either adopted these methodologies or are making accommodations to incorporate them in their system.

SharePoint for HR Management

Running a company, no matter how big or small is no easy task. It has so many different parts and components that all need to be managed correctly to ensure seamless operations for the company. Now, different people may have different opinions about how to ensure the smooth functioning of a business.

text editor

These days, collaboration has become a business need to support innovative ways of working. Companies are well beyond a realm where employees are destined to their counters. The staff is hardly in the same place at the same time

Code Review Feedback

Almost every single person in the software industry must have heard about code reviews and may be familiar with it. Even then the concept of reviewing codes is misinterpreted. People in this industry generally assume that performing tests must be sufficient to meet the requirements of the verification process, yet it is mostly ignored in the software development life cycle. 

Blind Spots in Software Testing

Have you ever accidentally added spice to a cake, because you were baking a cake and a steak at the same time? Have you dumped a spoon in a dustbin instead of a washbasin?  

Online Exams: Best Practices to Ensure Security

Online exams may seem like a modern contraption and, quite frankly, they are indeed quite advanced. But what they are not is brand new — yep, the concept of online exams has been around for nearly as long as the concept of online learning has been around.