Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
1

Why does Repl.it say error when I try 'dynamic constant assignment in ruby'

ComputingSquid
ComputingSquid

So basically i tried to make some ruby script some the shop had some different items each time and it stayed the same when it got added to the player inventory, but it provided this error message:

image

2 years ago

Voters

Comments

TopNew
1
Coder100
Coder100

Well, you are using require_relative requiring shop which requires main which requires shop which ...

Might want to remove the require statement inside shop.rb

2 years ago
1
ComputingSquid
ComputingSquid

I'll try


@Coder100

Nope doesn't work 😢

2 years ago
Load more