-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't package my program #1453
Comments
@AmrElTaieb, I package on my mac; So please take this advice with a grain of salt. However, consider trying |
Do not move shoes4 location |
@MichaelDimmitt C:\Users\Asd>bin/shoes package --jar C:\Users\Asd\Desktop\Shoes\Shoes.rb |
@AmrElTaieb, I think these two details will provide useful information: |
Including @MichaelDimmitt suggestions. You need to change the name and path to your app. C:\Users\Asd\Desktop\Shoes\Shoes.rb is not a path that Shoes 3 or Shoe4 can navigate to. Desktop just won't do what you want. Point to where your app is really stored and don't name it Shoes.rb (we have one of those so you invite much confusion) |
@MichaelDimmitt surprisingly I found shoes4 in this directory: |
@AmrElTaieb yes it should be in the JRuby directory. It might be that the |
I installed shoes4 and jruby and the jdk.
I made my first shoes app. It ran properly.
But when I type
shoes package --jar C:\Users\Asd\Desktop\Shoes\Shoes.rb
It doesn't pack my app. It doesn't do anything actually.
I tried a different command
shoes package --windows C:\Users\Asd\Desktop\Shoes\Shoes.rb
and I got the same result.
I tried to run the package command from the directory where my .rb file is and that's what happened
C:\Users\Asd>cd C:\Users\Asd\Desktop\Shoes\
C:\Users\Asd\Desktop\Shoes>shoes package --windows C:\Users\Asd\Desktop\Shoes\Shoes.rb
': uninitialized constant Shoes (NameError)C:/Users/Asd/Desktop/Shoes/Shoes.rb:1:in `
When I typed
ruby -version
Surprisingly I got this output
ruby 2.2.6p396 (2016-11-15 revision 56800) [x64-mingw32]
-e:1:in
<main>': undefined local variable or method
rsion' for main:Object (NameError)I typed
shoes --version
and nothing happened like when I tried to pack my program.
What could be the problem ?
The text was updated successfully, but these errors were encountered: