I want to create a batch file which can run a Ruby file like test.rb
.
Anyone have any idea how to create one?
Im using Ruby 2.0.0 and Windows 10.
I want to create a batch file which can run a Ruby file like test.rb
.
Anyone have any idea how to create one?
Im using Ruby 2.0.0 and Windows 10.
You just need to do this.
cd location
test.rb
This might also work.
cd ruby_install_location
ruby.exe c:/fullpath/test.rb