Sponsored Content
Top Forums Shell Programming and Scripting Issues installing RubyGems on Linux Post 303002232 by mohtashims on Sunday 20th of August 2017 01:37:20 PM
Old 08-20-2017
RedHat Issues installing RubyGems on Linux

Hi,

I am getting error installing rubygems as shown below:

Code:
[redmine@mail rubygems-2.6.12]$ pwd
/ticket/tools/binaries/rubygems-2.6.12
[redmine@mail rubygems-2.6.12]$ sudo ruby setup.rb
[sudo] password for redmine:
<internal:gem_prelude>:4:in `require': cannot load such file -- rubygems.rb (LoadError)
        from <internal:gem_prelude>:4:in `<internal:gem_prelude>'

Below are my ruby details.

Code:
[redmine@mail rubygems-2.6.12]$ ruby -v
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
[redmine@mail rubygems-2.6.12]$ which ruby
/usr/sbin/ruby

Basically I am following this document for my installation: Redmine on CentOS installation HOWTO - Redmine

Can someone help me overcome this error ?
 

7 More Discussions You Might Find Interesting

1. Solaris

installing Sol8 but issues

I need to install Sol8 on a V240 box but I have a couple of issues first. Right now V240 box has the Sol9 OS and I installed this probably 1.5 years ago. Right now the root password does not work and my userid does not work too. Not sure if someone changed the root password and if my acct... (12 Replies)
Discussion started by: bluridge
12 Replies

2. Shell Programming and Scripting

Solaris / Linux Issues with script

Hello, I run this command from a solaris box and it works just fine. It gives me the kind of output in my file I am looking for which would be for example... sb1p rdop ot2p ot3p eimp However when I do the same thing from a Linux box... ps -ef | grep nco_p_syslog | grep -v grep |... (19 Replies)
Discussion started by: LRoberts
19 Replies

3. Emergency UNIX and Linux Support

Installing packages on Redhat 5.5: rpmlib issues

Hi there I'm having trouble with a remote Red Hat server. We are busy with an Oracle 11g installation on this box and going through the list of required packages, etc. The installation required elfutils-libelf-devel-0.148. When I try to install that I get the following error; rpm -i... (6 Replies)
Discussion started by: notreallyhere
6 Replies

4. Red Hat

RedHat Linux GUI Issues

hi all i have installed Windows 7 first. then i installed linux on dual partations... i am booting both of them through dual boot... but when i start linux its only working well with CUI, when i used commands like startx or changed the initd to 5 then its loading the GUI interface of RedHat... (9 Replies)
Discussion started by: Nikhil Dethe
9 Replies

5. Red Hat

Issues in Installing Ethernet Driver on RHEL6

Am using Toshiba Satellite C850-l5212 Laptop . I have installed RHEL6 server on it ( Linux 2.6.32-220.el6.x86_64 ) Now ethernet eth0 is no working .Am not able to find eth0 when i do ifconfig -a . Later found that ethernet driver was not installed. tar jxvf compat-drivers-2013-03-15-u.tar.bz2... (2 Replies)
Discussion started by: senthilcaesar
2 Replies

6. UNIX and Linux Applications

Xalan & Xerces issues for Oracle Linux 6.6 & Solarisstudio12.3 C++ compiler for Linux

Hi Team, I am facing issue while using Xalan & Xerces for my application. Below are my environment details i am using :- Platform:- Oracle Linux 6.6 Compiler :- solarisstudio12.3 C++ compiler for Linux Below are the versions of Xalan & Xerces source code used to build the shared object... (0 Replies)
Discussion started by: agrachirag
0 Replies

7. Red Hat

Issues installing inotify-tools on RedHat Linux

I wish to install inotify-tools-3.20.1-2.4.x86_64.rpm on Linux and fire inotifywait command. Initially i was looking for "inotify-tools-3.xx.tar.gz" as instructed here http://jensd.be/248/linux/use-inotify-tools-on-centos-7-or-rhel-7-to-watch-files-and-directories-for-events I have... (9 Replies)
Discussion started by: mohtashims
9 Replies
RUBY-PROF(1)						      General Commands Manual						      RUBY-PROF(1)

NAME
ruby-prof - A fast ruby profiler SYNOPSIS
ruby-prof [options] <script.rb> [ script-options ] DESCRIPTION
ruby-prof is a fast profiler for ruby. It can be used as a stand-alone program (that this man page documents) or as a ruby library. Simply run the ruby program you want to profile using ruby-prof : ruby-prof script.rb At the end of execution the time spent in each method is displayed. OPTIONS
-p, --printer=printer Select a printer: flat - Prints a flat profile as text (default). graph - Prints a graph profile as text. graph_html - Prints a graph profile as html. call_tree - format for KCacheGrind -m, --min_percent=min_percent The minimum percent a method must take before being included in output reports. This option is not supported for call tree. -f, --file=path Output results to a file instead of standard out. --mode=measure_mode Select what ruby-prof should measure process - Use process time (default). wall - Use wall time. cpu - Use the CPU clock counter (only supported on Pentium and PowerPCs). --replace-progname Replace $0 when loading the ruby source file. -h, --help Show help message. -v, --version Show version. SEE ALSO
The ruby-prof website, http://ruby-prof.rubyforge.org/ AUTHOR
ruby-prof was written by Shugo Maeda <shugo@ruby-lang.org>. This manual page was written by Arnaud Cornet <arnaud.cornet@gmail.com> for the Debian project (but may be used by others). 14 October 2006 RUBY-PROF(1)
All times are GMT -4. The time now is 01:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy