September 6, 2010

Fixing: ERROR: While executing gem … (Errno::ENOENT) No such file or directory

Filed under: Uncategorized — Tags: — yasi8h @ 7:03 am

This is a very specific (can occur with rvm, but i am not exactly sure what caused it) error that i encountered while trying to install rails + ruby 1.9.2 + rvm + OS X Snow Leopard. If you get a error like the following try creating a directory called cache inside your rvm gems folder. For me the error was occurring because i didn’t have a cache directory.


boxdundu:~ y8h$ gem install sqlite3-ruby
ERROR:  While executing gem … (Errno::ENOENT)
No such file or directory – /Users/y8h/.rvm/gems/ruby-1.9.2-p0@rails3/cache/sqlite3-ruby-1.3.1.gem
boxdundu:~ y8h$ gem install sqlite3-rubyERROR:  While executing gem … (Errno::ENOENT)    No such file or directory – /Users/y8h/.rvm/gems/ruby-1.9.2-p0@rails3/cache/sqlite3-ruby-1.3.1.gem


boxdundu:~ y8h$ mkdir .rvm/gems/cache


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at

%d bloggers like this: