Hi,
I try installing rails on freebsd 9 but it doesn't work I tried both gem and ports.
error message for
command is
by the way I uninstalled ruby 1.8 and had installed ruby 1.9.
I try installing rails on freebsd 9 but it doesn't work I tried both gem and ports.
error message for
Code:
rails server
Code:
/usr/local/lib/ruby/gems/1.9/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)
from /usr/local/lib/ruby/gems/1.9/gems/execjs-1.4.0/lib/execjs.rb:5:in `<module:ExecJS>'
from /usr/local/lib/ruby/gems/1.9/gems/execjs-1.4.0/lib/execjs.rb:4:in `<top (required)>'
from /usr/local/lib/ruby/gems/1.9/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `require'
from /usr/local/lib/ruby/gems/1.9/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `<top (required)>'
from /usr/local/lib/ruby/gems/1.9/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `require'
from /usr/local/lib/ruby/gems/1.9/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `<top (required)>'
from /usr/local/lib/ruby/gems/1.9/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `require'
from /usr/local/lib/ruby/gems/1.9/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in `<top (required)>'
from /usr/local/lib/ruby/gems/1.9/gems/bundler-1.1.5/lib/bundler/runtime.rb:68:in `require'
from /usr/local/lib/ruby/gems/1.9/gems/bundler-1.1.5/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
from /usr/local/lib/ruby/gems/1.9/gems/bundler-1.1.5/lib/bundler/runtime.rb:66:in `each'
from /usr/local/lib/ruby/gems/1.9/gems/bundler-1.1.5/lib/bundler/runtime.rb:66:in `block in require'
from /usr/local/lib/ruby/gems/1.9/gems/bundler-1.1.5/lib/bundler/runtime.rb:55:in `each'
from /usr/local/lib/ruby/gems/1.9/gems/bundler-1.1.5/lib/bundler/runtime.rb:55:in `require'
from /usr/local/lib/ruby/gems/1.9/gems/bundler-1.1.5/lib/bundler.rb:119:in `require'
from /usr/home/hesam/rails_projects/first_app/config/application.rb:7:in `<top (required)>'
from /usr/local/lib/ruby/gems/1.9/gems/railties-3.2.7/lib/rails/commands.rb:53:in `require'
from /usr/local/lib/ruby/gems/1.9/gems/railties-3.2.7/lib/rails/commands.rb:53:in `block in <top (required)>'
from /usr/local/lib/ruby/gems/1.9/gems/railties-3.2.7/lib/rails/commands.rb:50:in `tap'
from /usr/local/lib/ruby/gems/1.9/gems/railties-3.2.7/lib/rails/commands.rb:50:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'