therubyracer

Trouble installing therubyracer

戏子无情 提交于 2020-01-17 06:21:29
问题 so I am trying to install BeEF (http://beefproject.com/) on xubuntu 13.10 but I keep getting an error with therubyracer while trying to bundle install. here are the directions I am following. (from BeEF's github page) sudo apt-get update sudo apt-get install curl git ruby build-essential libsqlite3-ruby libsqlite3-dev libssl-dev sudo curl https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer | bash -s stable source /etc/profile.d/rvm.sh rvm pkg install zlib --verify

Trouble installing therubyracer

痞子三分冷 提交于 2020-01-17 06:21:26
问题 so I am trying to install BeEF (http://beefproject.com/) on xubuntu 13.10 but I keep getting an error with therubyracer while trying to bundle install. here are the directions I am following. (from BeEF's github page) sudo apt-get update sudo apt-get install curl git ruby build-essential libsqlite3-ruby libsqlite3-dev libssl-dev sudo curl https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer | bash -s stable source /etc/profile.d/rvm.sh rvm pkg install zlib --verify

What is therubyracer or libv8 for in a rails application?

北城以北 提交于 2020-01-02 02:12:18
问题 I was working on a project and was having issues with therubyracer and libv8 often, so i decided to remove them. It seemed to be the only thing that used them as a dependency was less-rails which I wanted to remove anyways. My main question is what are they for and do I need them in the average application and if so why? 回答1: There are a few things for which a Rails app might use a Javascript Runtime: 1) The Rails Asset Pipeline requires a Javascript Runtime in order to perform Javascript

therubyracer - Gem::Ext::BuildError: ERROR: Failed to build gem native extension

元气小坏坏 提交于 2019-12-29 02:32:05
问题 I'm trying to install the following gem versions on Mavericks libv8 (3.16.14.3) therubyracer (0.12.1) Obviously therubyracer gems depends on libv8. 1) Installing libv8 What is libv8? My bit of research seems to indicaite it's some sort of javascript library used by Google Chrome? I was having trouble installing it, but this great post had both my error and a well-explained answer on how to bypass it. So I installed libv8 with gem install libv8 -- --with-system-v8 It's my understanding that

therubyracer not installing on Windows

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 17:57:05
问题 When attempting to install gem I am getting following error C:\xampp\htdocs\mg>gem install therubyracer Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing therubyracer: ERROR: Failed to build gem native extension. C:/RailsInstaller/Ruby2.1.0/bin/ruby.exe -r ./siteconf20150527-5032-1urwkwd. rb extconf.rb creating Makefile The system cannot find the path specified. The system cannot find the path specified. The system

therubyracer not installing on Windows

浪尽此生 提交于 2019-12-24 17:56:01
问题 When attempting to install gem I am getting following error C:\xampp\htdocs\mg>gem install therubyracer Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... ERROR: Error installing therubyracer: ERROR: Failed to build gem native extension. C:/RailsInstaller/Ruby2.1.0/bin/ruby.exe -r ./siteconf20150527-5032-1urwkwd. rb extconf.rb creating Makefile The system cannot find the path specified. The system cannot find the path specified. The system

therubyracer installation on windows with libv8 installed --with-system-v8

好久不见. 提交于 2019-12-23 14:55:49
问题 I finally got libv8 installed on my windows with gem install libv8 -- --with-system-v8 now when I am trying to install therubyracer I get gem install therubyracer Temporarily enhancing PATH to include DevKit... Building native extensions. This could take a while... Building native extensions. This could take a while... ERROR: Error installing therubyracer: ERROR: Failed to build gem native extension. C:/Ruby193/bin/ruby.exe extconf.rb --with-system-v8 checking for main() in -lpthread... no

I can't install therubyracer in Arch Linux x64

梦想的初衷 提交于 2019-12-22 10:52:33
问题 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

Fix therubyracer/libv8 (0.12.1) installation on Mavericks

白昼怎懂夜的黑 提交于 2019-12-20 11:13:54
问题 OK, I’m at the end of my tether with this. There are a few similar questions but they all refer to therubyracer 0.10, and they mostly conclude that the problem can be fixed by upgrading to 0.12. I’m having similar problems, but when I use 0.12. Similar questions Installing libv8 gem on Mavericks How to fix libv8 error from Gemfile on Mavericks? I’m having problems using ‘standard’ (xcode?) gcc, and both apple-gcc42 and gcc from homebrew. I’ve tried both --with-system-v8 and --without-system

TypeError: Object doesn't support this property or method

落爺英雄遲暮 提交于 2019-12-19 03:55:14
问题 I have created rails application where I created a database (empty). When I try to view my products page, I receive the following error on my http://localhost:3000/products page. Before migrating the database, the application did function. I am using therubyracer and am on Windows 7. ExecJS::ProgramError in Products#index Showing C:/RailsInstaller/DevKit/home/JP/nameofapp/app/views/layouts/application.html.erb where line #16 raised: TypeError: Object doesn't support this property or method