igrigorik/em-websocket — Issue #65: Invalid gemspec: Had to revert to 0.3.2
Author: cmoel
Created: 2011-10-23 03:26:38+00:00
State: open

I have a project that uses em-websockets as a dependency for other gems. Recently, I did a ```bundle update``` and got the following:
```ERROR: While executing gem ... (Errno::EACCES)
Permission denied - /Users/cmoel/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/gems/em-websocket-0.3.3/.gitignore```

So, I did a ```sudo bundle update```, which seemed to work. Then, at different points when using the Terminal (starting the Thin server, for example.) I would get:
```Invalid gemspec in [/Users/cmoel/.rbenv/versions/1.9.2-p290/lib/ruby/gems/1.9.1/specifications/em-websocket-0.3.3.gemspec]: Illformed requirement ["# 0.12.10"]```

This started happening only after updating to em-websocket 0.3.3. I removed the 0.3.3 version of gem and reinstalled it forcing version 0.3.2 and everything works fine.

As you can see, I'm using rbenv. More specifically: sstephenson/rbenv@01a0ad0b69c69f6a6a9fc66496f3eaf460db51fb.

Is there a workaround?

Thanks!