LoginSignup
0
1

More than 3 years have passed since last update.

rails tutorial 第1章

Last updated at Posted at 2020-08-10

はじめに

独学でrails tutorialを進めていく過程を投稿していきます。

進めていく上でわからなかった単語、詰まったエラーなどに触れています。

個人の学習のアウトプットなので間違いなどあればご指摘ください。

初めての投稿なので読みにくいところも多々あるかと思いますがご容赦ください。

第一章 ゼロからデプロイまで

1.2.2 Railsをインストールする

Q..yarmなるもののインストール指示されたがいったい何だろう
A..JavaScriptソフトウェアの依存関係を管理するプログラムらしい(javascriptのパッケージマネージャ―)

1.3.1 Bundler

エラー発生!!

bundle install時に早速エラーに遭遇しました。

遭遇したエラー


[!] There was an error parsing `Gemfile`: Illformed requirement ["-> 3.2.1"]. Bundler cannot continue.

 #  from C:/environment/hello_app/Gemfile:36
 #  -------------------------------------------
 #  # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
 >  gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
 #  source 'https://rubygems.org'
 #  -------------------------------------------

解決

 #  from 
C:/environment/hello_app/Gemfile:36
↑にインストールに失敗した箇所が表示されているのでそこを修正

1.4 Gitによるバージョン管理

余談
ブランチの名前を間違えてしまったが簡単に変更できました。
git branch -m 変更したい名前

終わりに

そこまで躓くポイントはありませんでした。

参考文献
Ruby on Rails Tutorial

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