search for: execj

Displaying 20 results from an estimated 39 matches for "execj".

Did you mean: exec
2012 Mar 27
10
`autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes
I have installed ruby 1.9.2p318 (2012-02-14 revision 34678) [i686-linux] rails 3.2.2 gem 1.8.21 on ubuntu 10.04 when i created my first application and tried running it on server I get the following error not sure how to proceed further.... /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/execjs-1.3.0/lib/execjs/ runtimes.rb:50:in `autodetect'': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable) from /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/execjs-1.3.0/lib/ execjs.rb:5:in `<module...
2011 May 27
7
Rails 3.1.rc1 + gem coffee-script - WEBrick and Unicorn hangs.
Environment: rvm ruby 1.9.2-p180 rails 3.1.rc1 Conditions: gem "coffee-script" # in Gemfile at least one file with .js.coffee (even empty inside) in app/assets Result: WEBrick or Unicorn hangs. Only kill -9 <pid> helps. P.S. What additional info should I provide? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
2012 Jan 14
1
Error in Creating a rubyonrails application
when i try to run the rails server after successfully creating a rails application i get following error... can you please suggest some solutions to fix this. sward@master:~/work/myapp$ rails server /usr/lib/ruby/gems/1.8/gems/execjs-1.2.13/lib/execjs/runtimes.rb:47:in `autodetect'': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable) from /usr/lib/ruby/gems/1.8/gems/execjs-1.2.13/lib/execjs.rb:5 from /usr/lib/ruby/gems/1.8/gems...
2013 Oct 23
9
rails generate scaffold - ERROR
...OR using the rvm using these instructions: http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/ Using Ubuntu 12 on VirtualBox I''m trying to create a demo_app rails generate scaffold User name:string email:string gives me this error: -- /home/natmanu/.rvm/gems/ruby-2.0.0-p247/gems/execjs-2.0.2/lib/execjs/runtimes.rb:51:in `autodetect'': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable) from /home/natmanu/.rvm/gems/ruby-2.0.0-p247/gems/execjs-2.0.2/lib/execjs.rb:5:in `<mo...
2012 Jun 11
10
installing ruby on rails 1.9.3 on windows 7
...lp if possible. after installing everything required to run ruby on rails when i write the command ''rails s'' in the command prompt it doesn''t start the server. rather it shows : C:\Sites\railsinstaller_demo>rails s C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/run times.rb:51:in `autodetect'': Could not find a JavaScript runtime. See https://gi thub.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUn available) from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/l ib/execjs.rb:5...
2012 Feb 06
3
Can't complete the Getting Started tutorial due to ExecJS::RuntimeError in Home#index
I have just installed Rails 3.2.1 on my Xubuntu using the gem system and I try to make the tutorial http://guides.rubyonrails.org/getting_started.html and on section 4.3 Setting the Application Home Page I get the following error ExecJS::RuntimeError in Home#index Showing /home/xonx/rails/blog/app/views/layouts/application.html.erb where line #6 raised: (in /home/xonx/rails/blog/app/assets/javascripts/home.js.coffee) Extracted source (around line #6): 3: <head> 4: <title>Blog</title> 5: <%= styleshe...
2012 Jan 23
2
Installing Ruby/TroubleShoot
I am having trouble with the Ruby on Rails for a windows 7 PC. During the installation on Ruby it said missing file ''lib'' Then every time I try to generate a scaffold or controller it says Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS: :RuntimeUnavailable) Attachments: http://www.ruby-forum.com/attachment/6928/Ruby.odt -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To pos...
2014 Feb 23
0
ExecJS::RuntimeError in Say#hello
Showing *D:/RailsInstaller/blog/app/views/layouts/application.html.erb* where line *#6* raised: module.js:340 throw err; ^ Error: Cannot find module 'C:\Windows\system32\config\SYSTEM~1\AppData\Local\Temp\execjs20140223-5592-h2cx72.js' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:902:3 (in D:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/...
2011 Dec 01
7
ExecJS::RuntimeError in Home#index
I have just installed RoR using RailsInstaller. This is on a Windows XP system. I have created the default application and it loads via localhost I have also updated execjs to 1.2.9 and installed nodes as initially there was no javascript support. ( not sure why the windows script server did not work though) I am now working through the Getting Started with Rails, Blog application at http://guides.rubyonrails.org/getting_started.html#creating-the-blog-application I...
2011 Dec 05
9
jquery - word is not defined
Just starting out with a beginner book on jquery and the very first thing I am trying fails (has to be me) Rails 3.1 - other jquery things working including a poor example of drag & drop that is my ultimate target here but just simply trying to get every alternating row in a table to have a different css class So I''m using... app/assets/javascripts/people.js.coffee and put in...
2011 Nov 17
0
Include a javascript runtime when generate the app
...y are hard to explain for beginners. A lot of people said that Rails is getting less friendly for beginners but that''s not true and I can assure that it''s not true in most of the points except for one: "Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)" In last two or three month I trainned more than a hundred new students and answered at least 10 times why they need to install a Javascript Runtime for a tool that''s based in Ruby. Most of people don''t even now...
2011 Aug 11
0
Rails 3.1.0.rc5 server won't start
Hi, Have hit a problem upgrading rails to 3.1.0.rc5 on the server (Centos 5.5). No problems locally an a mac. After deploying with capistrano and restarting the server, I got the following error from passenger: "Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)" I went to the url mentioned, and ensured the following: execjs gem is installed (1.2.4). node is installed (0.4.8). coffee-script is installed (1.1.2). The problem remained. I then did some googling and found solutions that s...
2011 Aug 06
2
No javascript runtime on Heroku
Hello all, I developed an app using Rails 3.1 and uploaded it to heroku. When I typed rake db:migrate , I got the following error: Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. Does heroku support Rails 3.1? They seem to have no Javascript runtime env''s like nodejs on their machine! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send e...
2012 May 31
14
How install libv8 (therubyracer) Windows 7
...ctionpack (3.2.3) Using mime-types (1.18) Using polyglot (0.3.3) Using treetop (1.4.10) Using mail (2.4.4) Using actionmailer (3.2.3) Using arel (3.0.2) Using tzinfo (0.3.33) Using activerecord (3.2.3) Using activeresource (3.2.3) Using bundler (1.2.0.pre.1) Using coffee-script-source (1.3.3) Using execjs (1.4.0) Using coffee-script (2.2.0) Using rack-ssl (1.3.2) Using json (1.7.3) Using rdoc (3.12) Using thor (0.14.6) Using railties (3.2.3) Using coffee-rails (3.2.2) Using jquery-rails (2.0.2) Using libv8 (3.10.8.0) Using mysql (2.8.1) Using rails (3.2.3) Using sass (3.1.19) Using sass-rails (3.2....
2011 Nov 30
2
bundle exec fail
...le:19 This is a fairly new application in Rails 3.1 Gemfile contents below (if useful - comments removed) $ cat Gemfile source ''http://rubygems.org'' gem ''rails'', ''3.1.1'' gem ''pg'' gem ''json'' gem ''execjs'' gem ''therubyracer'' group :assets do gem ''sass-rails'', ''~> 3.1.4'' gem ''coffee-rails'', ''~> 3.1.1'' gem ''uglifier'', ''>= 1.0.3'' end gem ''jq...
2012 May 16
7
Rails 3.1.0 cannot connect to sqlite database on Mac Lion
...39;git://github.com/rails/rails.git'' gem ''sqlite3'' # Gems used only for assets and not required # in production environments by default. group :assets do gem ''sass-rails'' gem ''coffee-rails'' # See https://github.com/sstephenson/execjs#readme for more supported runtimes # gem ''therubyracer'', :platform => :ruby gem ''uglifier'', ''>= 1.0.3'' end gem ''jquery-rails'' Routes: root :to => "home#index" home controller: class HomeController...
2012 Mar 07
6
Can't find the PostgreSQL client library (libpq)
When i try it start my ruby server i get a error that looks like rails server Could not find pg-0.12.2 in any of the sources Run `bundle install` to install missing gems. I dont know what to do Thanks for all the help -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this
2012 Jan 15
2
DEPRECATION WARNING: Passing a template handler in the template name is deprecated. (rspec + haml)
....0.0) rack-test (>= 0.5.4) selenium-webdriver (~> 2.0) xpath (~> 0.1.4) childprocess (0.3.0) ffi (~> 1.0.6) coffee-rails (3.2.1) coffee-script (>= 2.2.0) railties (~> 3.2.0.beta) coffee-script (2.2.0) coffee-script-source execjs coffee-script-source (1.2.0) diff-lcs (1.1.3) erubis (2.7.0) execjs (1.2.13) multi_json (~> 1.0) factory_girl (2.4.0) activesupport factory_girl_rails (1.5.0) factory_girl (~> 2.4.0) railties (>= 3.0.0) ffi (1.0.11) guard (0.10.0)...
2011 Sep 19
27
Installing Rails Help!
...erecord-3.0.3, activeresource-3.1.0, activeresource-3.0.3, activesupport-3.1.0, activesupport-3.0.3, ansi-1.3.0, arel-2.2.1, arel-2.0.10, bcrypt-ruby-3.0.1, builder-3.0.0, builder-2.1.2, bundler-1.0.18, coffee-rails-3.1.1, coffee-script-2.2.0, coffee-script-source-1.1.2, erubis-2.7.0, erubis-2.6.6, execjs-1.2.6, hike-1.2.1, i18n-0.6.0, jquery-rails-1.0.14, mail-2.3.0, mail-2.2.19, mime-types-1.16, multi_json-1.0.3, mysql2-0.3.7, polyglot-0.3.2, rack-1.3.2, rack-1.2.3, rack-cache-1.0.3, rack-mount-0.8.3, rack-mount-0.6.14, rack-ssl-1.3.2, rack-test-0.6.1, rack-test-0.5.7, rails-3.0.3, railties-3.1.0...
2012 Sep 18
2
NoMethodError with rake db:migrate
...3'' # Gems used only for assets and not required # in production environments by default. 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'' end gem ''jquery-rails'' # To use ActiveModel has_secure_password # gem ''bcrypt-ruby'', '...