Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RubyGems is not installed. Please install it first. #38

Open
LeoJavaAI opened this issue Dec 19, 2013 · 2 comments
Open

RubyGems is not installed. Please install it first. #38

LeoJavaAI opened this issue Dec 19, 2013 · 2 comments

Comments

@LeoJavaAI
Copy link

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?

@LeoJavaAI
Copy link
Author

solved it by adding the below symlink

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

@cybernet
Copy link

thanks for the "patch"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants