Dojo Packager
Get Version
1.132.0‘dojo-pkg’
What
dojo-pkg is a Ruby gem for distributing the Dojo source code and provides utilities for working with Dojo in your Rails application.
Installing
sudo gem install dojo-pkg
The basics
dojo-pkg provides a simple way to distribute the Dojo JavaScript Toolkit via a Ruby gem.
Currently dojo-pkg supports a single command dojofy that can be used to add Dojo to your Ruby on Rails application.
Demonstration of usage
Once you install dojo-pkg, it’s easy to start using Dojo within your rails application by doing the following:
cd my_awesome_rails_app dojofy
This will add a public/javascripts/dojo directory to your Ruby on Rails application. Inside this directory, you will find the dojo source code. If the dojo installation was successful, then you will see a nice friendly message:
You have just dojofied your app!
If you have problems during this step, or the error messages aren’t clear enough to help you figure out what may be wrong, then post a message to the dojo-pkg Google Group and somebody is sure to help you on your way to Dojo bliss.
Forum
http://groups.google.com/group/dojo-pkg
How to submit patches
Read the 8 steps for fixing other people’s code and for section 8b: Submit patch to Google Groups, use the Google Group above.
The trunk repository is svn://rubyforge.org/var/svn/dojo-pkg/trunk for anonymous access.
OOOORRRR
You can fetch the source from either:
- rubyforge: http://rubyforge.org/scm/?group_id=7092
Build and test instructions
cd dojo-pkg rake test rake install_gem
License
This code is free to use under the terms of the MIT license. Dojo and all of the projects distributed as part of the Dojo source (included in dojo-pkg) are used and distributed under their own license
Contact
Comments are welcome. Send an email to Bob Remeika email via the forum
Bob Remeika, 10th November 2008
Theme extended from Paul Battley