Solucionado (ver solução)
Solucionado
(ver solução)
4
respostas

comando rails server não dá resultado esperado...

Quando executo o comando, aparecer o seguinte resultado:

marcos@marcos-Aspire-4736Z:~/job_board > rails server /home/marcos/.rvm/gems/ruby-1.9.3-p545/gems/execjs-2.2.1/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/marcos/.rvm/gems/ruby-1.9.3-p545/gems/execjs-2.2.1/lib/execjs.rb:5:in' from /home/marcos/.rvm/gems/ruby-1.9.3-p545/gems/execjs-2.2.1/lib/execjs.rb:4:in <top (required)>' from /home/marcos/.rvm/gems/ruby-1.9.3-p545/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:inrequire' from /home/marcos/.rvm/gems/ruby-1.9.3-p545/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in <top (required)>' from /home/marcos/.rvm/gems/ruby-1.9.3-p545/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:inrequire' from /home/marcos/.rvm/gems/ruby-1.9.3-p545/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in <top (required)>' from /home/marcos/.rvm/gems/ruby-1.9.3-p545/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:inrequire' from /home/marcos/.rvm/gems/ruby-1.9.3-p545/gems/coffee-rails-3.2.2/lib/coffee-rails.rb:1:in <top (required)>' from /home/marcos/.rvm/gems/ruby-1.9.3-p545/gems/bundler-1.6.3/lib/bundler/runtime.rb:76:inrequire' from /home/marcos/.rvm/gems/ruby-1.9.3-p545/gems/bundler-1.6.3/lib/bundler/runtime.rb:76:in block (2 levels) in require' from /home/marcos/.rvm/gems/ruby-1.9.3-p545/gems/bundler-1.6.3/lib/bundler/runtime.rb:72:ineach' from /home/marcos/.rvm/gems/ruby-1.9.3-p545/gems/bundler-1.6.3/lib/bundler/runtime.rb:72:in block in require' from /home/marcos/.rvm/gems/ruby-1.9.3-p545/gems/bundler-1.6.3/lib/bundler/runtime.rb:61:ineach' from /home/marcos/.rvm/gems/ruby-1.9.3-p545/gems/bundler-1.6.3/lib/bundler/runtime.rb:61:in require' from /home/marcos/.rvm/gems/ruby-1.9.3-p545/gems/bundler-1.6.3/lib/bundler.rb:132:inrequire' from /home/marcos/job_board/config/application.rb:7:in <top (required)>' from /home/marcos/.rvm/gems/ruby-1.9.3-p545/gems/railties-3.2.19/lib/rails/commands.rb:53:inrequire' from /home/marcos/.rvm/gems/ruby-1.9.3-p545/gems/railties-3.2.19/lib/rails/commands.rb:53:in block in <top (required)>' from /home/marcos/.rvm/gems/ruby-1.9.3-p545/gems/railties-3.2.19/lib/rails/commands.rb:50:intap' from /home/marcos/.rvm/gems/ruby-1.9.3-p545/gems/railties-3.2.19/lib/rails/commands.rb:50:in <top (required)>' from script/rails:6:inrequire' from script/rails:6:in `'

4 respostas

A instalação do rails não ficou correta no linux, estão faltando alguns arquivos, procure na documentação oficial do rails ou na comunidade rails Brasil

Reinstalei tudo no windows, utilizando railsinstaller, funcionou alguns dias e agora está dando um erro parecido.

solução!

Resolvido... coloquei acidentalmente um caractere estranho no arquivo routes do diretorio config

Marcos, estou tendo o mesmo problema que o seu. Será que mode me ajudar? Pode me passar o passo a passo que você usou para solucionar o problema?