Closed pierreburgy closed 10 years ago
Hmm. Your rubygem bin
path probably isn't in your shell's $PATH
? Run this:
gem environment
… and check the EXECUTABLE DIRECTORY
setting. Make sure it's in your $PATH
:
echo $PATH
Thanks for your answer, here is the path I obtained : /Users/pierreburgy/pear/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
RubyGems Environment:
Yep. Your path doesn't include the RubyGems bin
directory. And it looks like you're using Homebrew's Ruby. According to brew info ruby
, gem executables are added to /usr/local/opt/ruby/bin
.
Add something like this to .profile
or .bashrc
or whatever you use:
export PATH=/usr/local/opt/ruby/bin:$PATH
Thanks a lot, I finally solved the problem using this line which was advised by brew when I used "brew info ruby" :
sudo gem pristine --all --only-executables
Let's use Genghis !
:+1:
Hi !
I recently installed genghis with gem but when I try to launch the app I obtain a "command not found"
Here is my configuration : OS X 10.9.2 MongoDB shell version: 2.4.9 (installed with homebrew) ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin13.0](installed with homebrew) gem version : 2.0.3
Do you know what could be the solution?
Thanks for your help,
Pierre