in Hacking

Running Ruby on Rails 3.1 on FreeBSD

Are you trying to install / run Rails 3.1 on a FreeBSD system...?
You will probably get errors of a missing javascript engine.

You should try to install node and google V8 as javascript engine

cd /usr/ports/lang/v8
make install clean
cd /usr/ports/www/node
make install clean

Now it should work :-)

  1. You are my hero! After days of trying to get therubyracer and associated files to compile on my freeBSD box, your post has offered the most elegant solution. And it works. Thanks again.

Comments are closed.