“No such file or directory - getcwd” error on rubygems on Mac Os Lion

前端 未结 15 1649
逝去的感伤
逝去的感伤 2020-12-08 18:51

I\'m trying to launch a heroku console that uses rubygems but I keep getting this error:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/         


        
15条回答
  •  旧巷少年郎
    2020-12-08 18:55

    as explained by gerardk you could try this before launching back heroku console

    $ pwd #ie: /mywork
    $ cd ..
    $ cd [pwd] #ie: cd mywork
    

    now go launch back heroku console

提交回复
热议问题