0
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 3 years have passed since last update.

ruby serialportをWSL環境にインストールする

Posted at

#WindowsのWSLでserialport gemを使おうとしたら盛大にハマったので備忘録。
serialport gemをインストールしようとしたときにコンパイルできない。

環境
Windows 10 WSL Ubuntu 20.04 LTS

とりあえずアップデート
sudo apt update

ruby-dev と build-essentialがserialportビルドに必要なようだ
sudo apt install -y ruby ruby-dev build-essential

serialportインストール
sudo gem install serialport

これで無事にインストールできた。

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