Hello List!
I’m glad to announce the update of Rails Plugin Fossilize (0.3.0):
Fossilize
Allow you distribute your rails application as a Gem.
It add a “fossilize” generator and a package task to rake.
What it offer
Fossilize offer you two ways of using your distributable rails
application:
- a ‘unpack’ method (by default):
This clone Gem contents into a user especified folder. - As INSTANCE:
Create a minimun folder structure for the user to configurate that
unique instance
and allow you hook RAILS_ROOT/RAILS_INSTANCE to provide personalized
functionality from this.
To start using it
-
First, must install the plugin (ruby script\plugin install)
./script/plugin source
http://opensvn.csie.org/mmediasys/trunk/rails/plugins/
./script/plugin install fossilize -
Then use generate to create the default script and configuration for
your applicationExample:
./script/generate fossilize MyRailsAppThis will:
Create my_rails_app script (executable) under /bin.
Add application.yml to /config directoryPlease edit the later with your own information (version, package
name, author, etc.) -
When you’re done, use rake package to generate the gem of your
application -
The end user could execute ‘my_rails_app’ like ‘rails’ command.
It is compatible with Rails installed as gem or in vendor/rails (it will
also be packaged and distributed into the gem).
Because the copy process is generator-based, local modified files will
show collisions and ask the user for action.
Regards, and remember: feedback are welcome!
–
Luis L.
Multimedia systems
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi