therubyracer

Rails on WINDOWS: install therubyracer & libv8 - working on a website designed on MAC

不问归期 提交于 2019-12-13 06:15:13
问题 I have a website developed with was RoR v 4.2.4 on MAC which needs some adaptions and I'm trying to get in running on my windows 10 (because I don't have a MAC).I was not successfull with the rails installer and rails 5.0. After a lot of pain installing RoR 4.2.4 with ruby 2.2.6 I managed to install nearly all missing gems using bundle check , bundle install and gem install xyz -v 0.0... . But now I'm really stuck with the last 2: therubyracer and libv8 What I tried: Install libv8 with gem

is there a way of installing therubyracer in windows?

有些话、适合烂在心里 提交于 2019-12-12 13:00:08
问题 Is there a way of installing therubyracer gem i.e required to run a RoR project in windows? I've tried normal way, but it wouldn't and then i tried installing cygwin and then tried installing gem, but still no luck, Anyone successful in installing this in windows? I can even try the hard methods also (if there're any possible solutions) 回答1: I used therubyracer_for_windows. It works for me. 回答2: If you need a JS runtime for asset compilation (and other tasks), on Windows it's perfectly safe

therubyracer install error. I tried all other SO solutions and still no luck

爱⌒轻易说出口 提交于 2019-12-11 06:25:35
问题 I think this is a common problem of installing therubyracer gem in Rails. It is a dependency for the twitter-bootstrap-rails gem. I have tried solution such as this: `gem install therubyracer` fails on Mac OS X Lion Here is the portion of my gem file that's relavant: group :assets do gem 'sass-rails', '~> 3.2.3' gem 'coffee-rails', '~> 3.2.1' # See https://github.com/sstephenson/execjs#readme for more supported runtimes gem 'therubyracer', :platforms => :ruby gem 'uglifier', '>= 1.0.3' gem

therubyracer error on heroku as “Failed to install gems via Bundler.”

扶醉桌前 提交于 2019-12-10 17:18:04
问题 When i push my app to heroku it gives me following error -----> Ruby/Rails app detected -----> Installing dependencies using Bundler version 1.3.2 Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment You are trying to install in deployment mode after changing your Gemfile. Run `bundle install` elsewhere and add the updated Gemfile.lock to version control. You have added to the Gemfile: * therubyracer ! ! Failed to install gems via

Difficulty installing therubyracer 0.10.2 and apple-gcc42 on Mac OSX 10.12.6 Sierra

纵饮孤独 提交于 2019-12-08 03:12:14
问题 The answer to this similar question doesn't solve my problem. Here is the answer from that question: If you decide to use a newer therubyracer gem version, you will no longer have this problem Otherwise: brew tap homebrew/dupes # Thanks Tom brew install apple-gcc42 export CC=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/gcc-4.2 export CXX=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/g++-4.2 export CPP=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/cpp-4.2 brew uninstall v8 gem uninstall

Difficulty installing therubyracer 0.10.2 and apple-gcc42 on Mac OSX 10.12.6 Sierra

孤街浪徒 提交于 2019-12-06 15:27:47
The answer to this similar question doesn't solve my problem. Here is the answer from that question: If you decide to use a newer therubyracer gem version, you will no longer have this problem Otherwise: brew tap homebrew/dupes # Thanks Tom brew install apple-gcc42 export CC=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/gcc-4.2 export CXX=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/g++-4.2 export CPP=/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/cpp-4.2 brew uninstall v8 gem uninstall libv8 gem install therubyracer -v '0.10.2' # specify version The problem I'm running into with this

I can't install therubyracer in Arch Linux x64

大城市里の小女人 提交于 2019-12-05 18:51:04
When I try to install therubyracer, I get the following error: Installing therubyracer (0.11.0) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /home/carlos/.rbenv/versions/1.9.3-p327/bin/ruby extconf.rb checking for main() in -lpthread... yes checking for v8.h... yes creating Makefile make compiling script.cc compiling v8.cc compiling backref.cc compiling value.cc compiling accessor.cc compiling trycatch.cc compiling primitive.cc compiling external.cc compiling date.cc compiling exception.cc compiling init.cc compiling template.cc

Gem install therubyracer -v '0.11.4'?

不想你离开。 提交于 2019-12-05 17:36:17
问题 I'm nearly crazy to install therubyracer . I know there're many people have the same problem with me, and I had also viewd these issues, however it's too complicated for me cause different situations have the different solutions. And in fact, there're have been not a good way to solve the problem. My problem is similar to this, and there have a discussion about it, however there're still have not a conclusion. In spite of these, this is a good question asked by Chris S , but come not a good

Gem install therubyracer -v '0.11.4'?

僤鯓⒐⒋嵵緔 提交于 2019-12-04 02:29:39
I'm nearly crazy to install therubyracer . I know there're many people have the same problem with me, and I had also viewd these issues, however it's too complicated for me cause different situations have the different solutions. And in fact, there're have been not a good way to solve the problem. My problem is similar to this , and there have a discussion about it, however there're still have not a conclusion. In spite of these, this is a good question asked by Chris S , but come not a good result. ① Here is some notes about my problem: 1.ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64

gem install therubyracer -v 0.11.4 fails on OS X 10.10

不问归期 提交于 2019-12-01 17:18:13
问题 Following the steps here "gem install therubyracer -v '0.10.2'" on osx mavericks not installing, I was able to get therubyracer -v 0.10.2 and 0.12.0 to install fine, but not 0.11.4. gem install therubyracer -v 0.11.4 Returns: Building native extensions. This could take a while... ERROR: Error installing therubyracer: ERROR: Failed to build gem native extension. /Users/thooper/.rbenv/versions/2.1.2/bin/ruby -r ./siteconf20150102-7132-9ct9a4.rb extconf.rb creating Makefile Compiling v8 for x64