[GH-ISSUE #38] RubyGems is not installed. Please install it first. #17

Open
opened 2026-02-27 22:07:16 +03:00 by kerem · 2 comments
Owner

Originally created by @LeoJavaAI on GitHub (Dec 19, 2013).
Original GitHub issue: https://github.com/sibprogrammer/owp/issues/38

RubyGems 1.3.5 installed
ERROR: While executing gem ... (JSON::GeneratorError)
source sequence is illegal/malformed utf-8
true
true
Checking presence of the command: ruby
Ruby version: 1.8.7
Checking presence of the command: gem
Fatal error: RubyGems is not installed. Please install it first.

But gem is installed on my centos 6

[root@ip- cache]# which gem
/usr/local/rvm/rubies/ruby-1.8.7-p374/bin/gem

how do I fix?

Originally created by @LeoJavaAI on GitHub (Dec 19, 2013). Original GitHub issue: https://github.com/sibprogrammer/owp/issues/38 RubyGems 1.3.5 installed ERROR: While executing gem ... (JSON::GeneratorError) source sequence is illegal/malformed utf-8 true true Checking presence of the command: ruby Ruby version: 1.8.7 Checking presence of the command: gem Fatal error: RubyGems is not installed. Please install it first. But gem is installed on my centos 6 [root@ip- cache]# which gem /usr/local/rvm/rubies/ruby-1.8.7-p374/bin/gem how do I fix?
Author
Owner

@LeoJavaAI commented on GitHub (Dec 20, 2013):

solved it by adding the below symlink

ln -s /usr/local/rvm/rubies/ruby-1.8.7-p374/bin/gem /usr/local/gem

<!-- gh-comment-id:30995971 --> @LeoJavaAI commented on GitHub (Dec 20, 2013): solved it by adding the below symlink ln -s /usr/local/rvm/rubies/ruby-1.8.7-p374/bin/gem /usr/local/gem
Author
Owner

@cybernet commented on GitHub (Dec 20, 2013):

thanks for the "patch"

<!-- gh-comment-id:31048235 --> @cybernet commented on GitHub (Dec 20, 2013): thanks for the "patch"
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/owp#17
No description provided.