'Ruby : Cannot load such file --ruby2d (LoadError)
I'm new to Ruby,Writing some code to make a game,so using ruby2d library.
Got an error while writing some basic code.
Help me out Folks.
require 'ruby2d'
set background: "Navy"
show
Solution 1:[1]
After searching for the above problem on various sites,Finally my problem got resolved.
So,All the folks who would come across the same problem. Here's the Solution
1)https://www.ruby2d.com/learn/linux/#install-packages
{ Do as it is as written in the article for the Linux users }
2)gem install ruby2d
Yippe, Everything works well! After this.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | apoorv gupta |
