Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I followed the instructions from the RubyGame wiki. Everything worked up until I tried to run the application:
ruby a_rubygame_app.rb
# => ruby: No such file or directory -- a_rubygame_app.rb (LoadError)
What happened?
a_rubygame_app.rb is not the actual name of any file... In the install docs, they've used a common programmer technique of naming a file with something that should look like it needs to be replaced.
This is often done with things like /path/to/yourfile – which is not a path to any actual file on your computer, but is meant to be replaced with an actual path and filename – or obj.my_method, which is meant to indicate that you call a method you've created by replacing my_method with the actual method name.
According to the rubygame README,
We also recommend that you take a peek at the demo applications in
the 'samples' directory, especially image_viewer.rb,
demo_rubygame.rb, and chimp.rb.
Try to find your way into the samples directory, and then try running ruby image_viewer.rb, ruby demo_rubygame.rb or ruby chimp.rb.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
this is such a beginners question but nevertheless wanted some of your input.
I tried installing SublimeText4 and noticed that there is no .dmg file associated with it, all i get .zip - is this normal? Usually with SBT3 and Pycharm I was used to at least some 'install' procedures.
Kind of new to Mac OS, so thanks for the help.
The DMG approach is common, but in this case, the ZIP file has the application. Often the browser will automatically unzip it for you, but if not, just double click on the ZIP file and the application will be extracted for you. Then you can just drag the app extracted from the ZIP file to your “Applications” folder and you are done.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I installed nix on osx using this command:
$ sh <(curl https://nixos.org/nix/install) --darwin-use-unencrypted-nix-store-volume
Following instructions here:
https://hydra.nixos.org/build/119559243/download/1/manual/#sect-macos-installation
I'm trying to build a project that uses the nix shell and it's telling me to edit something in a file called nix.conf. However the project documentation was setup using a linux or nixos distribution so not sure where this file is located on osx. (The docs say to look in /etc/nix/nix.conf, but this file doesn't exist in osx)
/etc/nix/nix.conf may not exist, you need to create it.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I installed Ruby 1.9.1 and verified it is installed. According to Software Manager it's installed. Search Ruby or Ruby 1.9.1 comes up empty. Browsing folders nothing is found either. How do I find this program and others that are lost in space as well?
Open up a shell and type in
ruby -v
If that gives you a version number, then it is successfully installed. To find where the binary is installed, do
which ruby
This will return the full path of the compiled ruby interpreter.
The command which ruby will tell you the location of the ruby executable that is run when you type ruby into the command line.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
The community reviewed whether to reopen this question last year and left it closed:
Original close reason(s) were not resolved
Improve this question
I feel stupid for asking this, but here goes. In linux/mac, you can run an executable file in the shell, simply by writing its name. Can you do something similar in windows command line?
Example: I am in directory dir. I want to run a file a.exe in dir/subdir without changing directory to subdir, or writing subdir/a.exe. Is this possible?
You can using one of the following:
"subdir/a.exe"
subdir\a.exe
You mean you don't want the double-quotes of "subdir/a.exe"? Anyway, if you change to a backslash, it does work; i.e.
subdir\a.exe
It is possible. All you need to do is ensure that the directory in which a.exe resides is included on the path.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
hey guys so im using Ubuntu and im having a issue finding the files using the ln command
currently i have a folder called myName.2 within it are 3 folders notes, assignments and web.
within notes i created 3 files called linux.txt, unix.txt and shell.txt, now i have redirected myself so im in the folder web and want to create hard links to these files here, so for example i type the command
ln /home/admin/3000/Assignment1/myName.2/notes/linux.txt
however the terminal is telling me,
ln: accessing `/home/admin/3000/Assignment1/myName.2/notes/linux.txt': No such file or directory
i went to the properties of the linux text file and copy and pasted the path straight from there
any hints would be much appreciated thanks!
It's easy to make typos, and simpler to use relative paths. Try:
ln ../notes/linux.txt
from inside the web directory.