Atcoderの問題を解くときに、任意の環境でコードを書く必要があったので、VScodeを開いてわざわざrails cでコンソールを開いて、1行ずつ実行していた苦い思い出があったので、共有しておきます。
rubyがインストールされた環境でターミナルを立ち上げ
rubyに何かプログラムを書いた後に
ruby 〇〇.rbと入力するとそのプログラムが実行されます。
Go to list of users who liked
More than 1 year has passed since last update.
Atcoderの問題を解くときに、任意の環境でコードを書く必要があったので、VScodeを開いてわざわざrails cでコンソールを開いて、1行ずつ実行していた苦い思い出があったので、共有しておきます。
rubyがインストールされた環境でターミナルを立ち上げ
rubyに何かプログラムを書いた後に
ruby 〇〇.rbと入力するとそのプログラムが実行されます。
Register as a new user and use Qiita more conveniently
Go to list of users who liked