Download and Configure Aspose.Cells in Ruby
Download Required Libraries
Download required libraries mentioned below. These are the required for executing Aspose.Cells Java for Ruby examples.
Download Examples from Social Coding Sites
Following releases of running examples are available to download on below mentioned social coding sites:
It is very simple and easy to install Aspose.cells Java for Ruby gem, please follow these simple steps:
- Add this line to your application’s Gemfile.
- And then execute
- Run following command.
$ gem install aspose-cellsjava
Include the required files for working with the helloworld example.
require require File.dirname(File.dirname(File.dirname(__FILE__))) + '/lib/aspose-cellsjava' include Asposecellsjava include Asposecellsjava::HelloWorld initialize_aspose_cells
Let’s understand the above code.
- The first line makes sure that the aspose cells is loaded and available.
- Include the files that are required to access the aspose cells.
- Initialize the libraries. The aspose JAVA classes are loaded from the path provided in the aspose.yml file/