मैक ओएस एक्स शेर के साथ आता है जो डिफ़ॉल्ट bash
टर्मिनल चलाने के लिए प्रयुक्त होता था लेकिन हाल ही में एडन के साथ ZSH
में अपग्रेड किया गया है।जेडएसएच मेरे आरवीएम रत्नों के लिए "कमांड नहीं मिला" त्रुटि क्यों लौटाता है?
तब से मुझे रुबी रत्नों का उपयोग करते समय एक अजीब त्रुटि मिलती है।
संक्षेप में सभी रत्न एक "कमांड नहीं मिला" त्रुटि लौटाते हैं, भले ही वे इंस्टॉल हों।
यहाँ मेरी ZSH टर्मिनल से सीधे एक उदाहरण है:
- शो कि RVM गहरे लाल रंग का एकदम सही ढंग से चल रहा है।
rvm list
मेरे आरवीएम रूबी को डिफ़ॉल्ट होने के रूप में दिखाता है जैसा कि मैं चाहता हूं।rvm gem list
दिखाता है कि मेरे रत्न स्थापित हैं,sass
मणि पर ध्यान दें।- एक साधारण
sass --watch
कमांड चल रहा हैzsh: command not found: sass
। बस अगर यह मदद करता है, तो मेरे
$PATH
परिवर्तनीय आउटपुट।Jannis-Mac-Pro: /Volumes/Storage2/Sites/git/mathewhawley.com/static → which ruby /Users/jannis/.rvm/rubies/ruby-1.9.2-p290/bin/ruby Jannis-Mac-Pro: /Volumes/Storage2/Sites/git/mathewhawley.com/static → rvm list rvm rubies =* ruby-1.9.2-p290 [ x86_64 ] # => - current # =* - current && default # * - default Jannis-Mac-Pro: /Volumes/Storage2/Sites/git/mathewhawley.com/static → rvm gem list Please note that `rvm gem ...` is only an alias to `rvm do gem ...`, it might work different as in earlier versions of RVM and will be shortly removed! Also note that you do not have to prefix every command with `rvm`, they should just work by itself. `rvm do gem list` is deprecated, use `rvm all do gem list` or `rvm 1.9.2 do gem list` instead. *** LOCAL GEMS *** addressable (2.2.7, 2.2.6) chunky_png (1.2.5) compass (0.11.7, 0.11.6, 0.11.5) css_parser (1.2.6) fssm (0.2.8.1, 0.2.7) grid-coordinates (1.2.0) haml (3.1.4, 3.1.3) htmlentities (4.3.1) json (1.6.5) nokogiri (1.5.0) oily_png (1.0.2) premailer (1.7.3) rake (0.9.2.2, 0.9.2) rb-fsevent (0.9.0, 0.4.3.1) rdoc (3.12) rubygems-update (1.8.17, 1.8.15, 1.8.13, 1.8.11) sass (3.1.15, 3.1.12, 3.1.10) stitch (0.1.3.2) Jannis-Mac-Pro: /Volumes/Storage2/Sites/git/mathewhawley.com/static → sass --style compressed --watch scss:css zsh: correct 'sass' to 'case' [nyae]? n zsh: command not found: sass Jannis-Mac-Pro: /Volumes/Storage2/Sites/git/mathewhawley.com/static → echo $PATH /Users/jannis/.rvm/gems/[email protected]/bin:/Users/jannis/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/jannis/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin
किसी को भी क्यों सब कुछ दिखाई देता है चल रहा हो और स्थापित किया जा के एक विचार है, लेकिन फिर वास्तव में नहीं मिल रहा है और मणि आदेश मैं तुम्हारी मदद की सराहना करते हैं चलाते हैं। बाद RVM sourced था
उचित मणि निर्देशिका में मैन्युअल रूप से बाइनरी का पता लगाने का प्रयास करें 2 पंक्ति जोड़ें। उदाहरण: /Users/jannis/.rvm/gems/ruby-1.9.2-p290/gems/sass-3.1.15/bin/। यह आपके /Users/jannis/.rvm/gems/[email protected]/bin में भी होना चाहिए। इस तरह कम से कम आप इसका उपयोग तब तक कर सकते हैं जब तक आप उचित फिक्स नहीं पाते। – ayckoster