ruby on rails - Why do I get an error when running bundle install? -


i spent past couple of hours, in addition scouring stack overflow, trying find solution problem, haven't been able solve when runningbundle install.

here error message:

alexander-macbook-pro:healthapp alex$ bundle install fetching gem metadata https://rubygems.org/........ fetching gem metadata https://rubygems.org/.. resolving dependencies...... using rake (10.0.3)  using i18n (0.6.4)  using multi_json (1.6.1)  using activesupport (3.2.11)  using builder (3.0.4)  using activemodel (3.2.11)  using erubis (2.7.0)  using journey (1.0.4)  using rack (1.4.5)  using rack-cache (1.2)  using rack-test (0.6.2)  using hike (1.2.1)  using tilt (1.3.4)  using sprockets (2.2.2)  using actionpack (3.2.11)  using mime-types (1.21)  using polyglot (0.3.3)  using treetop (1.4.12)  using mail (2.4.4)  using actionmailer (3.2.11)  using arel (3.0.2)  using tzinfo (0.3.36)  using activerecord (3.2.11)  using activeresource (3.2.11)  using bcrypt-ruby (3.0.1)  using sass (3.2.6)  using bootstrap-sass (2.3.0.1)  using bundler (1.3.5)  using cancan (1.6.9)  using coffee-script-source (1.6.0)  using execjs (1.4.0)  using coffee-script (2.2.0)  using rack-ssl (1.3.3)  using json (1.7.7)  using rdoc (3.12.2)  using thor (0.17.0)  using railties (3.2.11)  using coffee-rails (3.2.2)  using commonjs (0.2.6)  using orm_adapter (0.4.0)  using warden (1.2.1)  using devise (2.2.3)  using sass-rails (3.2.6)  using font-awesome-sass-rails (3.0.2.2)  using haml (4.0.0)  using jquery-rails (2.2.1)  using jquery-ui-rails (3.0.1)  using kaminari (0.14.1)  using less (2.2.2)  using less-rails (2.2.6)  installing libv8 (3.11.8.13)  gem::installer::extensionbuilderror: error: failed build gem native extension.  /users/alex/.rvm/rubies/jruby-1.7.4/bin/jruby extconf.rb  notimplementederror: c extension support not enabled. pass -xcext.enabled=true jruby or set jruby_opts or modify .jrubyrc enable.     (root) @ /users/alex/.rvm/rubies/jruby-1.7.4/lib/ruby/shared/mkmf.rb:8   require @ org/jruby/rubykernel.java:1054    (root) @ /users/alex/.rvm/rubies/jruby-1.7.4/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1    (root) @ extconf.rb:1   gem files remain installed in /users/alex/.rvm/gems/jruby-1.7.4/gems/libv8-3.11.8.13 inspection. results logged /users/alex/.rvm/gems/jruby-1.7.4/gems/libv8-3.11.8.13/ext/libv8/gem_make.out  error occurred while installing libv8 (3.11.8.13), , bundler cannot continue. make sure `gem install libv8 -v '3.11.8.13'` succeeds before bundling. 

running gem install libv8 -v '3.11.8.13' doesn't much.

add following ~/.jrubyrc (create if not exist):

cext.enabled=true 

then run bundle install command again.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -