Slightly OT

Roger arelem at bigpond.com
Fri Jan 18 06:07:55 UTC 2013


I have a fresh install of Fedora 18.
Trying to get ruby on rails working.

Have latest ruby, have rails and all the gems have bundle, etc and rvm 
everything as I have in Fedora 16.

Issuing the terminal command rails s in the directory I get error:
/home/Me_user/.gem/ruby/1.9.1/gems/execjs-1.4.0/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)

Have installed
libuv-0.9.4-0.1.gitdc559a5.fc19.x86_64.rpm - it requested this as a 
dependency.
Have no idea how to get it to install execjs.
Neither yum nor gem will install it.


 From google:
"I had the same problem and I fixed it by installing |nodejs| on my 
system independent of the gem."
[root at Me_User-desktop]# yum install nodejs
Loaded plugins: langpacks, presto, refresh-packagekit
No package nodejs available.
Error: Nothing to do

Have downloaded nodejs-0.9.5-9.fc18.x86_64.rpm and tried rpm -ivh 
nodejs-0.9.5-9.fc18.x86_64.rpm
[root at Me_user-desktop Downloads]# rpm -ivh nodejs-0.9.5-9.fc18.x86_64.rpm
error: Failed dependencies:
     libhttp_parser.so.2()(64bit) is needed by nodejs-0.9.5-9.fc18.x86_64
     libv8.so.3()(64bit) is needed by nodejs-0.9.5-9.fc18.x86_64
     v8 >= 1:3.13.7.5 is needed by nodejs-0.9.5-9.fc18.x86_64
     v8 < 1:3.14 is needed by nodejs-0.9.5-9.fc18.x86_64

So why doesn't yum find the rpm either on the web or after changing to 
/Downloads where I have the .rpm is located and handle the dependencies 
as it has done with all other installs to date.


Bit stuck on this and would appreciate help please.
Thanks in advance
Roger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130118/e94cec1c/attachment-0001.html>


More information about the users mailing list