개발/[Ruby]

[Ruby] RubyMine으로 Ruby on rails 프레임워크 사용하기

바켱서 2021. 12. 12. 18:45

RubyMine 에서 Ruby on rails 프레임워크를 쓰려고 한다. (이직하는 회사가 루비 언어를 쓴다.)

먼저 Ruby 언어, Node.js, Yarn 를 다운로드 받아야 한다.

루비 다운로드

Ruby 공식 홈페이지에서 2.6.9-1 버전을 나는 다운받기로 했다.

https://rubyinstaller.org/downloads/

 

Downloads

Which version to download? If you don’t know what version to install and you’re getting started with Ruby, we recommend that you use the Ruby+Devkit 2.7.X (x64) installer. It provides the biggest number of compatible gems and installs the MSYS2 Devkit

rubyinstaller.org

Create 프로젝트

루비 언어를 다운로드를 다 받았다면 이제 Project를 만드는 일이 남았습니다.

Database를 선택할 때 해당하는 DBMS가 설치되어있어야 합니다.

프로젝트가 실행되고 GemFile과 프로젝트가 모두 Install 되었다면

Ctrl을 연속 2번 누르고 Run AnyThing > Dev 검색 > Development:${프로젝트명}을 실행합니다.

성공화면!

/출처 : https://www.jetbrains.com/help/ruby/create-and-run-your-first-project.html#create_rails_app