# Copyright 2008 Bradley Grzesiak # This file is part of Suprails. # # Suprails is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Suprails is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Suprails. If not, see <www.gnu.org/licenses/>.

Suprails

This project is intended to be a replacement for the “rails” command. It does not replace the rails framework but rather provides a starting point for a rails application far beyond what the “rails” command provides. During execution, in fact, the suprails command calls the rails command.

Suprails has a website at suprails.org Eventually, it will be a place where suprails users can exchange config files and facets.

How it works

Suprails is unlike most other “Rails plus other stuff” projects out there. Instead of me, the Suprails author, deciding what you should have in your rails app, you get to decide. In addition, any time you execute Suprails, you have the option to update any gems that would otherwise be out-of-date.

Example configuration file (~/.suprails/config)

# Notice that ruby comments work just fine! # gems.update “rspec”, “rails”, “rspec-rails”, “haml”, “capistrano” frozen_rails gems.config :haml gems.unpack plugin “git://github.com/rails/exception_notification” generate :rspec folder “public/stylesheets/sass” delete “public/index.html” gpl git haml save # saves a copy of the configfile into rails app

Installation

$ sudo gem install suprails

Execution

First, run suprails without any arguments:

$ suprails

This will initialize your ~/.suprails/ folder and configuration in that folder

You will now want to edit the configuration file to your liking. It is located at: ~/.suprails/config

Now, run suprails instead of rails:

$ suprails AppName

History/Bugs

gems.config currently only accepts one arg.

0.2.1 - Added ability to specify a particular config file when running suprails

Added output for all commands
Updated help text when suprails is run without args (after 1st time)

0.1.3 - Added the save command and extended the file command

0.1.2 - Changed runcommand to runinside

0.1.1 - Added the runcommand verb

0.1 - The DB commands do not yet work. You have to just use the file command

instead.

0.0.0 - Initial readme. No code.