-
Notifications
You must be signed in to change notification settings - Fork 2
Command List
listrophy edited this page Sep 13, 2010
·
12 revisions
-
suprails.sources foldernamedefines the first place to look for source files and folders
-
rails#Since the config file is functional and not declarative, this command indicates where the rails command should be executed -
freeze#Freezes rails
-
gems.update [ gemname1 [ gemname2 [...]]]#updates the gems before using them. Updates all gems by default -
gems.config [--development|--test|--production] [ gemname1 [ gemname2 [...]]]#Adds a gem.config line to environment.rb or the specified environment - @gems.unpack @ #Unpacks and freezes all supporting gems. (alias for rake gems:unpack)
-
plugin plugin-location#executes script/plugin install plugin-location
-
folder foldername#creates a folder within the rails application (eg: public/stylesheets/sass) -
file source-file dest-file#copies a file from source-file to the rails-application-local dest-file location -
delete filename#deletes a file in the rails app folder (eg: public/index.html) -
gpl#creates a COPYING file in the rails app that contains GPLv3. Note that other licenses may be installed with thefilecommand
-
db.(development|test|production).(adapter|encoding|database|username|password|host) value#self explanatory -
db.create#alias forrake db:create
-
rake rake-task#run a rake task. rake-task will be checked against available tasks
-
git#initialize git viagit init && git add . -
svn#(I’m not familiar with svn… could someone please update this?)
-
(facet-name)#Run the facet’s init command (eg: haml executes the init command of the haml facet, essentially running haml —rails AppName) -
(facet-name).cmd#Execute some other command cmd for the facet