Download and Configure Aspose.Cells in Ruby
Contents
[
Hide
]
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:
GitHub
Installing
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.
gem 'aspose-cellsjava'
- And then execute
$ bundle
OR
- Run following command.
$ gem install aspose-cellsjava
Using
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/