-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
BrickThis doesn't seem rightThis doesn't seem right
Description
Ruby 의 bundle 버전이 jekyll theme와 맞지 않는 문제
- github에서 jekyll theme를 이용한 블로그 개설을 시도하였으나. Ruby를 사용함에 있어 어려움이 있었다.
- jekyll theme를 사용하기 위해 해당 theme를 github repo에 fork한 뒤에는 ruby를 사용하여 bundle을 설치해야 사용 가능한 것으로 보인다.
- 허나 설치된 Ruby의 bundle 버전이 내가 fork한 theme에서 지원하는 버전과 달랐다.
- 헤당 메세지는 아래와 같다.(git bash 창)
$ gem install bundler
Successfully installed bundler-2.2.5
Parsing documentation for bundler-2.2.5
Done installing documentation for bundler after 3 seconds
1 gem installed
$ bundle install --path vendor/bundle
[DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local path 'vendor/bundle'`, and stop using this flag
Fetching gem metadata from https://rubygems.org/..........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
bundler (~> 2.0.1) x64-mingw32
Current Bundler version:
bundler (2.2.5)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?
Could not find gem 'bundler (~> 2.0.1)' in any of the relevant sources:
the local ruby installation알게된 내용
- RubyInstaller
- Ruby는 Linux환경에서 사용된다.
- Ruby의 버전관리를 위한 툴인 rbenv나 RVM도 Linux환경에서만 작동되는 것을 알게 되었다.
- Window를 위해 제공되어지는 부분은 RubyInstaller인데, 아직 사용법이 미숙해 헤매고 있다.
- stack overflow링크를 통해 알게 된 부분
- 기존 bundler의 버전을 downgrade하기 위해선 Ruby prompt에서 아래의 명령어를 사용했다.
> gem install bundler --version '2.0.1' > bundle install --path vendor/bundle
- 명령어를 사용 한 결과 해당 버전의 bundler와 bundle을 설처할수 있었다.
gem list bundler와bundle -v로 버전을 확인했고, server를 확인하는 과정에서 막혔다. 이부분도 해결되는 데로 올릴 예정이다.
잊지말자.
오늘 마주한 벽 앞에서 빼넨 벽돌 하나는 내일 내가 만날 벽을 낮출 수 있다.
Metadata
Metadata
Assignees
Labels
BrickThis doesn't seem rightThis doesn't seem right