Just simply trying to make a file in ruby however it says that the touch command is not recognized, any ideas?screenshot of error
Asked
Active
Viewed 247 times
1 Answers
2
Use FileUtils#touch from inside Ruby:
require 'fileutils'
FileUtils.touch 'bcc.rb'
#=> ["bcc.rb"]

Todd A. Jacobs
- 81,402
- 15
- 141
- 199