Quantcast
Viewing all articles
Browse latest Browse all 5712

RubyMineの開発のはじめ方

はじめに

  • 普段はVimで開発していたのですがRubymineが便利そうだったのでRubymineを導入してみました。

RubyMineのダウンロード

導入

導入時役にたった資料

ターミナルからrailsプロジェクトを作る

$ rails new project_name -d mysql

mysql内にデータベースを作成する

$ mysql -uroot
mysql> create database project_name_development;

RubyMineでプロジェクトを開く

先程作成したプロジェクトをRubyMineで開きます

Image may be NSFW.
Clik here to view.
Welcome_to_RubyMine.png

プロジェクトを選択します

Image may be NSFW.
Clik here to view.
Open_File_or_Project.png

コマンドの実行も可能です。bundle installを実行します。

Image may be NSFW.
Clik here to view.
Gemfile_-_employee-search_-____Develop_rails_employee-search_.png

ターミナルから以下を実行し、準備OK!
bundle install

便利なショートカット

コマンド内容
cmd + shift + oファイル検索
cmd + shift + aコマンド検索
cmd + shift + l整形

Viewing all articles
Browse latest Browse all 5712

Trending Articles