forked from listrophy/suprails
-
Notifications
You must be signed in to change notification settings - Fork 0
Substitute for the "rails" command that can pre-install any gems, init a git db, and/or freeze rails, etc on top of a rails application
License
bendycode/suprails
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# 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 <http://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 http://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 Installation ============ $ sudo gem install listrophy-suprails --source http://gems.github.com 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.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.
About
Substitute for the "rails" command that can pre-install any gems, init a git db, and/or freeze rails, etc on top of a rails application
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published