RailsCasts Pro episodes are now free!

Learn more or hide this

Lionel Li's Profile

GitHub User: lionellei

Comments by Lionel Li

Avatar

I am using cloudmailin, and just started playing with mailgun.
Both are very easy to setup and use.
Thing I like about cloudmailin: its advance feature allows directly storing email attachment on s3.
Thing I like about mailgun: its routes and actions.

Avatar

I created a question on SO and problem solved:
http://stackoverflow.com/questions/12720909/therubyracer-install-error-i-tried-all-other-so-solutions-and-still-no-luck/12722230#12722230

My main problem is that my default compiler is clang++ but then I didn't have it install. Once I install that it's fine.

I am not sure you have the same problem though, it seems like you have Javascript runtime environment conflict with therubyracer?

If you have compiler problem like I did, make sure you have clang++ install or change your default system c++ compiler to whatever you have, gcc or g++

Avatar

I am having problem installing the twitter-bootstrap-rails gem. I searched around online and coulnd't find a solution. Here is the error message:

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

    /Users/lionel_lei/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb 

checking for main() in -lobjc... yes
creating Makefile

make
compiling rr.cpp
make: clang++: No such file or directory
make: *** [rr.o] Error 1

Gem files will remain installed in /Users/lionel_lei/.rvm/gems/ruby-1.9.3-p194/gems/therubyracer-0.10.2 for inspection.
Results logged to /Users/lionel_lei/.rvm/gems/ruby-1.9.3-p194/gems/therubyracer-0.10.2/ext/v8/gem_make.out
An error occured while installing therubyracer (0.10.2), and Bundler cannot continue.
Make sure that gem install therubyracer -v '0.10.2' succeeds before bundling.

I am on OSX Lion and have xcode 4.5 installed.

Anyone here have any suggestions? Appreciate it!