LoginSignup
1
2

More than 5 years have passed since last update.

Ruby on Rails keyword

Last updated at Posted at 2015-11-03

初心者のためのRuby&Rails勉強フロー

勉強(Ruby編)

プログラミング学習サービスprogateのRubyコース

勉強(Rails編)

インストール

  • bundle
  • rake
  • heroku
  • homebrew

Tools

CicleCI

bundle-update cicle ci

heroku

Gemfile
# Herokuの本番(production)環境ではPostgresqlを使用する
gem 'sqlite3', :group => [:development, :test]
gem 'pg', :group => [:production]

# コメントアウト
gem 'therubyracer', platforms: :ruby
database.yml
# Herokuに合わせて変更が必要
# 本番(production)環境のみ
production:
  adapter: postgresql
  encoding: utf8
  database: your_database
  port: 5432
  username: your_username
  password: your_password
heroku run rake db:migrate --app [app_name]
heroku logs --app [app_name]

DB migrate

Ruby on Rails 4 と Bootstrap で管理画面のレイアウトを作成する

チュートリアル

rails newしたときの開発を効率化するためにまず行いたい6つの設定まとめ
ruby-on-rails-tutorial

error

eventmachine error
graphviz  dot -Tgif sample1.dot -o sample1.gif 

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2