Closed chrisduong closed 10 years ago
@chrisduong You say ruby-2.1.2 is in your GEM_PATH but it doesn't appear to be in the output you've shown. Are you sure 2.1.2 is in your GEM_PATH?
What gem is failing to execute? Is it installed on both Rubies? If you're still having issues could you run the scripts/bug_report.sh script that ships with chruby and paste the output here?
Hi, this could be chefdk's bug in managing gem. I close it. Thanks for your time.
Hi,
I have opscode gems to manage ➜ chef-repo git:(my_cookbook) ✗ chruby ruby-1.9.3-p484 ruby-1.9.3-p547 ruby-2.1.2 ruby-chefdk
When I chruby to ruby-chefdk, my chefdk gem path is below the ruby-2.1.2 gem path, which makes some of my ruby gem fails to execute
cduong@cduong-XPS-12-9Q33:~/repo/testing/chef-repo$ which gem /home/cduong/.rubies/ruby-chefdk/bin/gem cduong@cduong-XPS-12-9Q33:~/repo/testing/chef-repo$ gem env RubyGems Environment:
I had been googling around, but I cannot find the solution. Please help