Skip to content

Instantly share code, notes, and snippets.

@douglasmartins7
Last active November 14, 2018 19:10
Show Gist options
  • Save douglasmartins7/443f3cd174cc666672ba222334148007 to your computer and use it in GitHub Desktop.
Save douglasmartins7/443f3cd174cc666672ba222334148007 to your computer and use it in GitHub Desktop.
#problemy in ubuntu at use bundle install
sudo apt-get install libpq-dev
#install package essential in Ruby
sudo apt-get install build-essential patch ruby-dev zlib1g-dev liblzma-dev
#Need install nodeJS
sudo apt-get install nodejs
#create scaffold(with model and controller)
rails g scaffold carro nome:string marca:string valor:float quantidade:int
#consult routes
rake routes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment