Download and Configure Aspose.Tasks in Ruby
Contents
[
Hide
Show
]Download Required Libraries
Download required libraries mentioned below. These are the required for executing Aspose.Tasks 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.Tasks Java for Ruby gem, please follow these simple steps:
- Run following command.
1$ gem install aspose-tasksjava
- Download required Aspose.Tasks for Java Component from following link.
- Create “jars” folder at root of the Aspose.Tasks Java for Ruby gem and copy downloaded component into it.
Using
Include the required files to get project version.
1require File.dirname(File.dirname(File.dirname(__FILE__))) + '/lib/aspose-tasksjava'
2include Asposetasksjava
3include Asposetasksjava::ProjectVersion
4initialize_aspose_tasks
Let’s understand the above code.
- The first line makes sure that the Aspose.Tasks is loaded and available.
- Include the files that are required to access the Aspose.Tasks.
- Initialize the libraries. The aspose JAVA classes are loaded from the path provided in the aspose.yml file