3rd year beginner PG I got a job at SIer, but I'm sick of fighting with Excel every day, so I'll try Rails tutorial to improve my skills. Mainly, I will keep a memorandum of places where I am stuck.
1.ExecJS::RuntimeUnavailable I proceeded according to the tutorial, and when I tried to start the rails server, the above error occurred
% rails server
JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
[solution]
・ After adding the following words to the gem file, bundle update
gem 'mini_racer'
%git checkout filename
1.[git log]Find out the commit id before deletion from
①commit 43a936275d7e3cb56716157e8b68e5e01a968a36
The above is the commit id before deletion
②commit 494cd86906729af3a4c8239a13846c4225dda56b
The above is commit id after deletion
2.Execute the following command to return to the commit id before deletion
% git checkout 43a936275d7e3cb56716157e8b68e5e01a968a36
Recommended Posts