1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

railsアプリ作成準備

Last updated at Posted at 2022-03-21

Ruby on RailsのアプリをGithubからクローンしてからhello worldするまで

git clone URL
でクローンする。

bundle _2.2.17_ install
を実行する。

そうすると

n error occurred while installing pg (1.1.4), and Bundler cannot continue.

In Gemfile:
  pg

上記エラーが出る

これは、pg Gemは開発環境には不要な為、最初に

bundle _2.2.17_ config set --local without 'production'

をする必要があった。

この後にbundle _2.2.17_ install

rails server

でlocalhost:3000にhello world表示

1
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?