Displaying 20 results from an estimated 5000 matches similar to: "ExecJS::RuntimeError in Home#index"
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
2012 May 31
14
How install libv8 (therubyracer) Windows 7
Hello, I have a problem when I try to add the gem therubyracer.
I put in my prompt:
bundle install, and this error appears:
C:\rails\organily>bundle install
Fetching gem metadata from https://rubygems.org/.........
Using rake (0.9.2.2)
Using i18n (0.6.0)
Using multi_json (1.3.6)
Using activesupport (3.2.3)
Using builder (3.0.0)
Using activemodel (3.2.3)
Using erubis (2.7.0)
Using journey
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
2012 Jun 11
10
installing ruby on rails 1.9.3 on windows 7
m sorry its a totally newbie question, but m really stuck. please help
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
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:
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 01
2
Can't work with command prompt on Windows XP
Hi, collegues.
I have installed Railsinstaller 2.0.0 and have a problem
When I''m starting Command Prompt with Ruby and Rails I see the
following text
"The network path was not found.
# Rails Environment Configuration.
Your git configuration is incomplete.
user.name and user.email are required for properly using git and
services such
as GitHub ( http://github.com/ ).
Please
2011 Sep 08
3
Newbie | Installing mysql2 gem
Hello everyone,
I wanted to learn about Ruby on Rails and its advantages and I decided
to start with some tutorials.
Unfortunately I''m forced to post my problem on the forum after days of
unsuccessful solutions.
I''ve installed Railsinstaller and mysql 5.5.15 64 bit version.
I''m running win 7. I''ve been using the following command:
C:\>gem install mysql2 --
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
2011 Nov 18
3
Rails Installation Error: Failed to build gem native extension.
After installing Ruby, i tried installing Rails and this is the error
i got:
C:\Users\Eunice>gem install rails
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
C:/Ruby/bin/ruby.exe extconf.rb
checking for re.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, problably lack
2011 Oct 21
1
Windows RailsInstaller for 2.3.x ?
Can anyone tell me which RailsInstaller version was the last one
that provided Rails 2.3.x ?
The release notes are a bit skimpy :-) but I need to help someone
on Windows get set up to work on a legacy app.
TIA,
--
Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
http://about.me/hassanschroeder
twitter: @hassan
--
You received this message
2011 Aug 25
2
Problem with rails generaterspec:install, Error-Message: no such file to load, sprockets-railtie (loadError)
Hey guys,
I''m a RoR-Beginner and I started learning it with the RoR-Tutorial.
Actually I''m at this chapter (http://ruby.railstutorial.org/chapters/
static-pages#top) and try to install rspec. But everytime when I try
to use "rails g rspec:install" I get this error message:
C:\Sites\rails\rails_projects\sample_appp>rails g rspec:install
2011 Nov 03
4
JSON problem while installing rails
Hello all.
I try to install ruby on rails and I am litle stuck now because of
following error:
http://pastebin.com/BmFyuRs6
Can someone help me?
I using Windows 7 Ultimate, Ruby 1.9.2-p180 and RubyGems 1.8.11.
What I did before run: gem install rails?
1. installing ruby through ruby installer
2. C:\Users\h4cky\Downloads\rubygems-1.8.10>ruby setup.rb
3.
2011 Oct 23
1
Problem using github gem on Windows 7
Hi all,
I''m new to this and trying to set up my dev environment on a
Window 7 x64 machine.
I used the latest version of RailsInstaller to start with.
I''m running into a problem using the github gem. When I try ''gh
create-from-local'', I get:
"You must ''gem install win32-open3'' to use the github command on
Windows"
However, when I
2011 Apr 27
1
Rake 0.8.7 issue on Rails 3, ruby 1.9.2 and Windows 7
Hi folks,
I´ve posted some days ago and receive your support. First i wish to
thank you.
I have this environment (Ruby 1.9.2, Rails 3.0.7, rake 0.8.7 ans MySQL
5.5.9 on Windows 7 32 bits) and another running on Ubuntu 9.10 (the
versions of Ruby, rails, rake and MySQL are the same).
So, i am able to do every rake task i call when i´m using ubuntu, even
rake db:create:all or rake db:migrate runs
2013 Mar 14
7
No Migration Files are created
I''ve been working with Rails for 3 Months now, but haven''t experienced
this problem until now. I''m currently working through Micharl Hartls
Tutorial and everything worked fine so far, but suddenly (chapter 11) I
can nolonger create Migration Files.
when entering "rails g model Name field1:type" I don''t get the usual
"create db/migrate...."
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.
2013 Oct 20
1
cannot load such file -- unicode (LoadError)
I''m new to RoR and working on a migration of project developed by another
team.
I''m using Rails version (3.2.13) and my bundle install works successfully.
However while running "rails server", I get the error below.
Any suggestions are most appreciated.
Thanks!
-------------- rails server output --------------
2011 Feb 21
1
authlogic problem
I can''t get authlogic to work.
(https://github.com/binarylogic/authlogic)
i''ve installed it,
i''ve put the following in environment.rb:
config.gem "authlogic"
''gem list'' gives:
*** LOCAL GEMS ***
abstract (1.0.0)
actionmailer (3.0.3, 2.0.2)
actionpack (3.0.3, 2.0.2)
activemodel (3.0.3)
activerecord (3.0.3, 2.0.2)
activeresource (3.0.3,
2013 Jul 13
1
Rails and MySQL
I''m trying to use MySQL instead of SQLite3. I have MySQL installed on my
pc. Do I need to ran something in the ruby to use MySQL?
C:\>rails new MySQLRestaurant --database=mysql
C:\>cd MySQLRestaurant
C:\MySQLRestaurant>rails generate scaffold review poster:string
date:datetime ar
ticle:text
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/mysql2-0.3.11-x86-mingw32/l