And I have also stated the PATH in my bash_profile like this:
Although I have issued a "source" command and then try to check location of the new installed ruby in a new console, it was given as this:
instead of
How can I get my Linux box to recognize the new location of my Ruby 1.8.6?
The reason why I want to install ruby in my home directory is because I the default ruby is broken and based on old version 1.8.5. The one I want to install is ruby 1.8.6.
Hello,
I'm trying to add my bin directory to my path by editing the .bash_profile. I'm adding the following:
PATH=$HOME/bin
But then when I type in "echo $PATH" my bin directory is not added. Do I need to do something to make this take affect or am I going about this wrong. :confused: ... (9 Replies)
I have a external HD that I can't seem to open. When I try to open it with gparted it says unrecognized disk. When I run gparted from the terminal this is what it says.
~ $ sudo gparted
======================
libparted : 2.2
======================
/dev/sdb: unrecognised disk label
When I... (18 Replies)
Hi! We have two HP-UX 11.23. I created VG on host A, exported and imported it on host B, but when I try to mount any LV I get "unrecognized vxfs version" version error. Could anyone please suggest something I can do in this situation? I tried to import VG back to host A and I successfully mounted... (3 Replies)
Hi - I am trying to include the MSQ.exe that I have downloaded for the sake of learning. My current /.bash_profile file reads:
PATH=/Library/Frameworks/Python.framework/Versions/3.1/bin:/Applications/XAMPP/xamppfiles/bin:$PATH
export PATH
-----------------------------------
... (4 Replies)
Hi all,
I'm trying to compile gdb (7.4.1) 64 bit on Solaris 9 SPARC.
First, I launch the configuration
~/gdb-7.4.1$>CC="gcc -m64" ./configure --disable-tui --prefix=$HOME/destdir/
Then, compilation
~/gdb-7.4.1$>make
During compilation gcc (3.4.6) is not enable to recognized the option... (0 Replies)
Background:
I want to upload the file from windows to RHEL5 server, the file stores Spanish words with UTF-8 encoding. it's used as the data source for loading to database.
some special characters in files like following.
í
ó
Ñ
á
Linux setting:
$ echo $LANG
en_US.UTF-8
I... (1 Reply)
Hi Friend,
i have tried to generated zip file and received with attached mail by. But attachment file is unrecognized format not zip file by crontab, which is not able open.
but there is no issue when the script is ran manually but i have received zip format.
i am appriciate for your... (9 Replies)
Hi everyone,
I have an external hard drive and I accidentally deleted the partition table.
Can I restore my files?
If I try to run the f-disk command this is what it says
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units =... (1 Reply)
Dear Community!
i try to instaled the sco 6 in hp proliant ML350g8
but unsucces,
the trouble when i do instaled it undetected hardisk
please help me
:(:o (7 Replies)
Hi,
I installed some packages required by an app built with python.
But when I try python setup.py install, I get the following error:
/opt/csw/lib/gcc/sparc-sun-solaris2.10/5.2.0/../../../../sparc-sun-solaris2.10/bin/as: unrecognized option `-m32'
Could anyone tell me what's wrong... (4 Replies)
Discussion started by: Kimkun
4 Replies
LEARN ABOUT DEBIAN
gem2deb
GEM2DEB(1)GEM2DEB(1)NAME
gem2deb - converts Rubygems' .gem file into Debian package
SYNOPSIS
gem2deb [OPTIONS] GEMNAME (to download the gem with gem fetch)
gem2deb [OPTIONS] GEMFILE (to use a local .gem file)
DESCRIPTION
gem2deb converts the gem into a Debian source package, and then will attempt to build it. The process is made of several steps.
First, gem2deb converts the gem file to a tar.gz archive containing a metadata.yml file with the Gem specification. This is equivalent to
what gem2tgz does.
Then, gem2deb unpacks the tar.gz archive and prepares a Debian source package, guess many of the defaults from the files included in the
archive, or the Gem specification. This is equivalent to what dh-make-ruby does. gem2deb cannot determine all parameters for obvious
reasons. It is recommended to search for the "FIXME" string in the debian/ directory. The generated Debian source package uses dh_ruby to
build the package.
Finally, gem2deb tries to build the source and binary packages using dpkg-buildpackage.
OPTIONS -t, --only-tarball
Stop after creating the tar.gz archive.
-s, --only-source-dir
Stop after preparing the Debian source package directory (do not attempt to build the package).
-S, --only-debian-source
Only build a Debian source package (do not build binary packages).
-p PACKAGE, --package PACKAGE
Specify package name (default: ruby-*). Passed to dh-make-ruby. See dh-make-ruby(1).
--ruby-versions VERSIONS
Ruby versions to build the package for (default: all). Passed to dh-make-ruby. See dh-make-ruby(1).
-h, --help
Displays gem2deb usage information.
-v, --version
Displays gem2deb version information.
HOW THE .GEM -> .TGZ CONVERSION WORKS
A gem named mygem-0.1.0.gem is converted in a tarball with (approximately) the following steps:
mkdir mygem-0.1.0
cd mygem-0.1.0
tar xfm /absolute/path/to/mygem-0.1.0.gem
tar xzfm data.tar.gz
zcat metadata.gz > metadata.yml
rm -f data.tar.gz metadata.gz
cd ..
tar czf mygem-0.1.0.tar.gz mygem-0.1.0
rm -rf mygem-0.1.0
The generated tarball has the following properties:
Files
It contains all the files the gem contains.
Metadata
It contains the gem metadata ends up in a file named ``metadata.yml`` inside the mygem-0.1.0 directory.
SEE ALSO dh_ruby(1)COPYRIGHT AND AUTHORS
Copyright (c) 2011, Lucas Nussbaum <lucas@debian.org>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
2012-03-06 GEM2DEB(1)