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.
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
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 6 years ago.
Improve this question
I downloaded and installed sox using the Mac OS X binary.
I am trying to run it using sox in the terminal but I keep getting command not found.
Make sure its on your PATH if you are calling it as sox. If it's not you have 2 options:
Add the directory it was installed to to your PATH
Give a path to the sox binary as the call instead. For example (I used homebrew to install sox) my binary is at /usr/local/bin/sox so my command would start with that. If you'd like you can also use alias to shorten that.
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 6 years ago.
Improve this question
Before upgrading my ubuntu install to 16.04 invoking 'octave' would open the octave interpreter, useful as a powerful calculator.
Now, typing octave opens the octave gui. I need to type 'octave --no-gui' to get my interpreter back.'
Why does this happen? How can I restore 'octave' opening the interpreter?
Defaults change over time depending on typical usage. To fix it, just:
Add an alias to your ~/.bashrc
alias octave="octave --no-gui"
Now source your file to enable it.
source ~/.bashrc
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
Im trying to implement Shellshock and I need downgrade Bash to a vuln. version. I don't know how get it and there isn't much information in the Internet about it.
I'm working with Ubuntu Server 14.04.
How I can get it?
Don't downgrade the system bash. That's a terrible idea. Get the source for a vulnerable version and compile it yourself.
(Don't install it to the system though if you can avoid it, just run it from the source directory.)
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.