![]() | pg gem encounters C extension support issues |
|
20 Mar 2013, 04:04
Jooin Kim (13 posts) |
it says..
what should I do? |
|
20 Mar 2013, 05:08
Jooin Kim (13 posts) |
sqllite gem has the same crash.. |
|
20 Mar 2013, 06:28
Jooin Kim (13 posts) |
this is how I solved
—> |
|
13 Apr 2013, 00:11
Hendie Dijkman (2 posts) |
I followed the advice in the error message and added the line cext.enabled=true
in the .jrubyrc file in my home folder (it didn’t exist, I had to create it). |
|
14 Apr 2013, 21:15
Bradford Cottel (6 posts) |
Yes, I did similar to Hendie… I performed this export JRUBY_OPTS="-Xcext.enabled=true"Before I ran my bundle install --without production Btw, you shouldn’t be getting issues with ‘pg’, but only with ‘sqlite3’, because you are running ‘—without production’ which will exclude the gem ‘pg’ line from being used. In any case if you use the bundle install—without production, you will get an error using sqlite3 which can be solved with either Hendie’s or my solution. |
| You must be logged in to comment |

