ruby 1.9.2p0, rails 3.1.3, ubuntu 10.4
nie mogę zainstalować gemu ‘therubyracer’
bundle wypluwa następujący kod:
[code]…
Installing therubyracer (0.9.9) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/home/basia/.rvm/rubies/ruby-1.9.2-p0/bin/ruby extconf.rb
creating Makefile
make
g++ -I. -I/home/basia/.rvm/gems/ruby-1.9.2-p0/gems/libv8-3.3.10.4-x86-linux/lib/libv8/v8/include -I/home/basia/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/i686-linux -I/home/basia/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/ruby/backward -I/home/basia/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1 -I. -I/home/basia/.rvm/usr/include -D_FILE_OFFSET_BITS=64 -Wall -g -rdynamic -fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers -Wno-long-long -fPIC -o v8_string.o -c v8_string.cpp
make: g++: Command not found
make: *** [v8_string.o] Error 127
Gem files will remain installed in /home/basia/.rvm/gems/ruby-1.9.2-p0/gems/therubyracer-0.9.9 for inspection.
Results logged to /home/basia/.rvm/gems/ruby-1.9.2-p0/gems/therubyracer-0.9.9/ext/v8/gem_make.out
An error occured while installing therubyracer (0.9.9), and Bundler cannot continue.
Make sure that gem install therubyracer -v '0.9.9'
succeeds before bundling.[/code]
proszę o pomoc!