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

Increase Productivity with SharePoint

It is a highly competitive world, and companies are continually striving to do better each day to improve productivity and increase overall efficiency. In any business, managing documents, exchanging data through emails, and scheduling meetings requires continuous collaboration within the team.

10 Best Practices for Choosing a Penetration Testing Company

Penetration testing has grown into one of the most common engagements for the current security-aware companies. There are numerous reasons for running a pentest, such as better security guards, diminished risk levels or meeting strict compliance requirements

Software Testing in 2020:  Biggest Trends

The massive demand for high-quality products created in the shortest period possible made testing a crucial success factor of the software development procedure.

6 Steps for Succeeding with Test Automation in Agile

To be able to keep up with this ever-shorter release cycles that come with the adoption of agile software development, many development teams are embracing test automation as a means to continuously make sure that every software release conforms to the desired degree of quality.

Mobile Application Security Testing Facts

Mobile application security testing can help ensure there aren't any loopholes in the software that might lead to information loss. The sets of tests are meant to assault the program to recognize potential threats and vulnerabilities that would allow external systems or persons to get private data stored on the mobile device.

7 Steps for Obtaining Successful QA Tests

Today’s enterprises are more focussed on faster releases and faster developments but with less focus on the Quality Assurance (QA) part of the SDLC. But, this hard-hitting as when the defects are more, the final software is affected and does not enjoy customer preference.

Why Vue.js is Worth Considering for Your Next Project

Front-end development is evolving at a rapid pace. As a developer, you need to cope up with the modern technology trends to provide the best user experience on your application. As part of this, advanced web development technologies such as Vue.js help to create interactive UI and maximize ROI.

In-house vs Outsource Software Development

Businesses often face the challenge to opt between in-house software application development or outsourcing software development companies for application development. Which one to choose is the real fight. We have the answers though.

4 Ways Microsoft Dynamics 365 Transforming Healthcare Industry

The need to revolutionize patient care has never been significant than it is today. Every healthcare professional wants to know as much as possible about the vitals of patients to improve diagnosis and deliver efficient treatment.