therubyracer

TypeError: Object doesn't support this property or method

怎甘沉沦 提交于 2019-11-30 22:21:06
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 (in C:/RailsInstaller/Ruby2.1.0/lib/ruby/gems/2.1.0/gems/turbolinks-2.5.3/lib/assets/javascripts

therubyracer install error

断了今生、忘了曾经 提交于 2019-11-29 22:12:20
As you can see below, libv8 installs fine, but therubyracer doesn't. I'm using Mac 10.7.4. ~/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1> gem install libv8 Building native extensions. This could take a while... Successfully installed libv8-3.11.8.3 1 gem installed Installing ri documentation for libv8-3.11.8.3... Installing RDoc documentation for libv8-3.11.8.3... ~/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1> gem install therubyracer Building native extensions. This could take a while... ERROR: Error installing therubyracer: ERROR: Failed to build gem native extension. /Users/rdp/.rvm/rubies

Installing ruby gem less-rails on windows machine using therubyracer

我怕爱的太早我们不能终老 提交于 2019-11-29 15:43:45
问题 since a while I am trying to install the less-rails gem on my windows7 machine. I already managed to install the needed therubyracer.gem using this binary file: https://github.com/stereobooster/therubyracer/downloads I also downloaded the v8.dll and put in my ruby/bin directory. So far everything works well, the bundle install is running and the server starting without any problems. But as soon as I request a page using a less file I get the following error message undefined method `in

therubyracer install error

[亡魂溺海] 提交于 2019-11-28 18:32:41
问题 As you can see below, libv8 installs fine, but therubyracer doesn't. I'm using Mac 10.7.4. ~/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1> gem install libv8 Building native extensions. This could take a while... Successfully installed libv8-3.11.8.3 1 gem installed Installing ri documentation for libv8-3.11.8.3... Installing RDoc documentation for libv8-3.11.8.3... ~/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1> gem install therubyracer Building native extensions. This could take a while... ERROR

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

一曲冷凌霜 提交于 2019-11-28 15:27:30
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 this installs the gem but uses my local system installation of the v8 library instead of... the version

“gem install therubyracer -v '0.10.2'” on osx mavericks not installing

半腔热情 提交于 2019-11-26 09:15:02
问题 Trying to install therubyracer on mavericks using \"gem install therubyracer -v \'0.10.2\'\" but i am getting the following error: /Users/dennischen/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb checking for main() in -lobjc... yes creating Makefile make compiling rr.cpp clang: warning: argument unused during compilation: \'-rdynamic\' rr.cpp:48:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 1 warning generated. compiling v8.cpp clang: warning: argument unused