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/
In my case, I was in a directory that had "unusual" characters in its name: /Volumes/Members/Finance & Accounting/-MC 2008, 7848/2020
.
And also, I was in a remote directory, as Mac users will recognize.
I simply did push ~
and ran the command again, then did popd
to get back to my remote directory with odd characters in the name.
It could be that gem
is ill-behaved in the face of directory names containing whitespace, or it could be that it doesn't work on networked directories.
The bash built-in pwd
worked just fine in the remote directory with the funny name.
This whole thing makes me a bit nervous about gem
.