Project

casket

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Packaging project for Ruby similar to JAR for Java
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 1.4.0
>= 1.3.0
 Project Readme

Ruby Casket¶ ↑

Packaging system for Ruby similar to JAR in Java.

Installation¶ ↑

RubyGems¶ ↑

Install Casket in traditional way

$ gem install casket

GitHub¶ ↑

Install Cascet from GitHub repository

$ git clone git://github.com/placek/casket.git
$ cd casket
$ rake build
$ gem install ./pkg/cascet-*.gem

Getting started¶ ↑

Ruby project requirements¶ ↑

To make your application self-executive create rake task to initialize application process. The task should be bind to default task. For example:

require 'hello_world.rb'

task :launch_application do           # create task
  HelloWorld.run                      # initiate application
end

task :default => :launch_application  # bind task to default one

For more examples please check github.com/placek/casket/tree/master/examples/.

Creating deployment package¶ ↑

To create Casket package simply go to your application directory and type:

$ casket --build

Then you should get an package with extension *.casket.

Running Casket projects¶ ↑

Tu run Casket project type:

$ casket <path to casket package>

If you don’t want to check dependences type:

$ casket --no-bundle <path to casket package>

Copyright © 2010 Paweł Placzyński. See LICENSE for details.