I installed Ruby on Synaptic Package Manager but when I double click a .rb file it just opens using Leafpad instead of running. I can't find Ruby in the start menu and when I type Ruby in LXTerminal nothing happens.

I'm basically trying to figure out how to run https://dev.wikia.com/wiki/RubyWikiDownloader to make a copy of images in a folder as backup and transferring.

  • 1
    Did you install the ruby package? Doesn’t ruby -- /path/to/script work? What is its output? Please add new information directly to your question (edit), do not use comments. – dessert Jan 24 '19 at 9:34

If you have ruby installed you can try to open terminal in path you have script.rb and type:

   ruby your_program.rb

If you don't have ruby installed, you have to install it and retry.

| improve this answer | |
  • How to you adjust the terminal to the path the script.rb is in? – VistaRefugee Mar 20 '19 at 5:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.