7 More Discussions You Might Find Interesting
1. What is on Your Mind?
Hi All,
Could you please suggest books for learning ruby and python language ?
Thanks,
Pravin (1 Reply)
Discussion started by: pravin27
1 Replies
2. Shell Programming and Scripting
Hello everybody,
May you help with this, I don't know what is wrong.
I want trying to print the first 4 characters as decimal and remove the "k's" from the next 7 characters.
I'm trying with gsub and backrefence as shown below trying to remove the "k's" and then trying to assign to "x" the... (0 Replies)
Discussion started by: Ophiuchus
0 Replies
3. UNIX for Advanced & Expert Users
Hi,
I am working on RHEL 5.6 server, this is in private DMZ. No access to internet. I have downloaded the files I need to install the Puppet & Ruby. My goal is to install Puppet. I have downloaded....
mcollective-2.2.3-1.el5.noarch- SERVER.rpm ... (2 Replies)
Discussion started by: samnyc
2 Replies
4. Programming
Hi,
I am a php developer and I decided to learn ruby on rails.
I have a few question.
I have an ubuntu virtual machine with lamp.
It mean that it has alrweady php and when I access the ip of the machine from my browser it does load the index.php.
if I install ruby on rails will theere... (0 Replies)
Discussion started by: programAngel
0 Replies
5. Shell Programming and Scripting
Hai any one pls guide me...
We can extract the line number of the sub routine/function/method in a Ruby file using the ctags command.
But I want to know the line number in which the sub routine is ending.
Example:
Say the function get_days_in_hash starts in the line number 20.
It... (2 Replies)
Discussion started by: thillai_selvan
2 Replies
6. Shell Programming and Scripting
Lately there have been a lot of one-liners posted in "ruby" on the apparent assumption that mainstream unix or Linux come with "ruby. They don't.
What is "ruby"?
What platforms and Operating System versions are supported?
The syntax for "ruby" seems remarkably obscure compared with say "awk"... (13 Replies)
Discussion started by: methyl
13 Replies
7. SuSE
Hello guys,
This is suse SLES 9.2.
I want to get ri working for all users on this system. I used
gem rdoc --all --ri to generate documentation and it went on doing it successfully.
Then I tried
ri Array
It shows following message :
Nothing known about Array
Therefore I ran... (0 Replies)
Discussion started by: upengan78
0 Replies
RUBY-BUILD(1) RUBY-BUILD(1)
NAME
ruby-build - compile and install Rubies
SYNOPSIS
ruby-build [-v|--verbose] [-k|--keep] definition prefix
ruby-build --definitions
ruby-build --version
ruby-build [-h|--help]
rbenv install [-k|--keep] definition
DESCRIPTION
ruby-build provides a simple way to compile and install different versions of Ruby on UNIX-like systems.
ruby-build downloads, builds and installs the Ruby version specified in a definition into a prefix directory. Definitions can be chosen
from the list of installed definitions or by specifying a file path for a definition.
rbenv(1) users can also use the provided rbenv install command, which installs Rubies into the rbenv directory.
OPTIONS
--definitions
List available definitions.
-k, --keep
Don't delete source code after installation.
-v, --verbose
Display compiler messages on standard output.
--version
Show ruby-build version and exit.
-h, --help
Show usage information and exit.
EXAMPLES
Install Ruby 1.9.3 (MRI, patch level 0) to ~/rubies/mri-1.9.3
$ ruby-build 1.9.3-p0 ~/rubies/mri-1.9.3
Install Ruby Enterprise Edition 1.8.7 (patch level 2011.03) for rbenv(1):
$ rbenv install ree-1.8.7-2011.03
Install Ruby from a custom definition into ~/your-ruby:
$ rbenv install /path/to/your/own/ruby/definition ~/your-ruby
ENVIRONMENT
CC Sets the path to the C compiler.
CONFIGURE_OPTS
Options that are passed to configure when building a Ruby.
MAKE_OPTS
Options that are passed to make when building a Ruby.
MAKEOPTS
Used instead of MAKE_OPTS when MAKE_OPTS is not defined.
TMPDIR Sets the location where ruby-build stores temporary files.
RUBY_BUILD_BUILD_PATH
Sets the location in which sources are downloaded and built.
AUTHORS
ruby-build is developed by Sam Stephenson <sam@37signals.com>.
This man page was written for the Debian GNU/Linux distribution by Sebastian Boehm <sebastian@sometimesfood.org> but may be used by others.
SEE ALSO
rbenv(1)
June 2012 RUBY-BUILD(1)