Fork me on GitHub

Posts Tagged ‘gem’

Release 0.1.0

Tuesday, March 4th, 2008

Rejoice! Yet another new release. Please be patient for the gem mirrors to pick it up.

Changelog:

  • Added an inflections system. The default inflections are from Jeremy McAnally’s great Rails plugin, acts_as_good_speeler. Thanks Jeremy! http://www.jeremymcanally.com/
  • Added a to_params method to Hash to help with testing.
  • Added rake generate:scaffold task.

Release 0.0.7.0

Monday, March 3rd, 2008

Nothing exciting at all in this release. It’s just a reorganization of the gem. No need to rush out and download the latest gem.

$ sudo gem install mack

Changelog:

  • Fixed [#18488] Recommend moving files under lib/

Release 0.0.6

Thursday, February 28th, 2008

Get it while it’s hot! Of course, you’ll probably want to wait a bit for it to propagate to all the gem mirrors. If you really can’t wait, you can find it here.

$ sudo gem install mack

From the CHANGELOG:

  • rake generate:<generator_name>
  • rake generate:plugin – will generate the stub of a plugin in the vendor/plugins directory.
  • rake dump:config – prints out the configuration information for the specified environment.
  • redirect_to now takes an optional Hash as a second parameter, instead of a fixnum.
  • redirect_to will now do server side redirects if passed :server_side => true as part of the optional second argument Hash.
  • plugin in support. plugins get loaded before the ‘app’ directory. each plugins ‘lib’ directory is added to the global load path and then each plugins ‘init.rb’ file is called, which is responsible for loading the necessary files. The ‘lib’ directories are finally removed from the global load path.
  • renamed initialize directory to initialization. moved logging, orm_support, and plugins to a subfolder called initializers.

Getting Started

Wednesday, February 27th, 2008

Installing Mack is pretty simple:

$ sudo gem install mack

This will install a few gems that Mack is dependent on. Once you’ve got all the gems installed you can create your mack app with the following:

$ mack my_cool_mack_app

That should create a folder called my_cool_mack_app with a bunch of files and folders underneath it. Now, to fire up the app:

$ cd my_cool_mack_app
$ rake server

Now point your browser to http://localhost:3000 and you should see a nice “welcome to mack” screen.

That’s it. Now you can start rocking your super cool application.