Get it from the App Store.
In XCode's Preferences > Downloads you can install command line tools.
ANYCLASS.any_instance.stub(:METHOD) do |METHOD_PARAM| | |
INSTANCE_ANYCLASS = ANYCLASS.__recorder.instance_that_received(:METHOD) | |
end | |
# See docs: | |
# AnyInstance => http://rubydoc.info/github/rspec/rspec-mocks/RSpec/Mocks/AnyInstance | |
# Recorder => http://rubydoc.info/github/rspec/rspec-mocks/RSpec/Mocks/AnyInstance/Recorder |
rails plugin new sudy_ag --full | |
# copiar as migrations pro hospedeiro | |
rake sudy_ag_engine:install:migrations | |
fonte: http://guides.rubyonrails.org/engines.html |
#!/bin/sh | |
echo "Clean Services" | |
echo "Clean User" | |
dscl localhost -delete /Local/Default/Users/firebird | |
echo "Clean Group" | |
dscl localhost -delete /Local/Default/Groups/firebird | |
if [ -f "/Library/StartupItems/Firebird" ]; then | |
echo "Remove SuperServer StartupItem" | |
rm -fr /Library/StartupItems/Firebird | |
fi |