RubyRailsNewBie
2013-Sep-08 17:06 UTC
not able to install rails getting an error "could not find javascript runtime"
Hello people Iam a newbie in Rails.Iam facing problem while installing. I installed rails installer i created my project going to sites Then rails -v (it worked) I ran bundle install I ran rails -s and i got this error I uncommented in gemfile #gem therubyracer still error is not being resolved,have searched but could not resolve the problem -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/groups/opt_out.
Colin Law
2013-Sep-10 19:19 UTC
Re: not able to install rails getting an error "could not find javascript runtime"
On 8 September 2013 18:06, RubyRailsNewBie <etikaahuja@gmail.com> wrote:> Hello people > > Iam a newbie in Rails.Iam facing problem while installing. > > I installed rails installer > i created my project going to sites > Then rails -v (it worked) > I ran bundle install > I ran rails -s > and i got this error > I uncommented in gemfile #gem therubyracer > still error is not being resolved,have searched but could not resolve the > problemThis question should be addressed to the rubyonrails talk list not core (which is for rails development issues). (Hint - run bundle install after modifying gemfile.) Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/groups/opt_out.
Robb Shecter
2013-Sep-18 05:15 UTC
Re: not able to install rails getting an error "could not find javascript runtime"
Colin wrote"> This question should be addressed to the rubyonrails talk list not > core (which is for rails development issues). > (Hint - run bundle install after modifying gemfile.) > >All true, and this provokes the issue: can we set up the initial install to provide reasonable defaults so that it would "just work" out of the box? Has this been discussed? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/groups/opt_out.
Steve Klabnik
2013-Sep-18 17:03 UTC
Re: not able to install rails getting an error "could not find javascript runtime"
The defaults already are reasonable, in my opinion. I wouldn''t mind hearing a concrete proposal to improve them, though. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/groups/opt_out.
Robb Shecter
2013-Sep-18 17:46 UTC
Re: not able to install rails getting an error "could not find javascript runtime"
On Wednesday, September 18, 2013 10:03:09 AM UTC-7, Steve Klabnik wrote:> The defaults already are reasonable, in my opinion. I wouldn''t mind > hearing a concrete proposal to improve them, though.Working outside-in, I''d say our goals should be: * A person can install and run a new rails app without "error" messages. * If an "error" message must be shown, then it should clearly describe (1) the source of the error, and (2) what''s needed to remedy it. So IMO the current set up isn''t reasonable because (1) the behavior is designed-in (I.e., we''ve designed Rails to fail) yet (2) we''re telling the user they''ve made an error. Also, (3) the error message is really just a fall-through which doesn''t give a high level semantic understanding of what''s going on. Contrast this with the more helpful message of rake''s checking for db:migrations which haven''t been run. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/groups/opt_out.
Robb Shecter
2013-Sep-18 17:49 UTC
Re: not able to install rails getting an error "could not find javascript runtime"
I realized I could be more concrete. To achive the goals I named, we should: * Attempt to use or install a default javascript runtime. (I don''t have the background to know if this is possible. It seems like an odd thing for the system to get hung up on, though.) * If that fails, arrange for a more helpful error message, a la db:migrate. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/groups/opt_out.
Steve Klabnik
2013-Sep-19 20:45 UTC
Re: not able to install rails getting an error "could not find javascript runtime"
> I don''t have the background to know if this is possible.With respect, I think this might be where you''re getting tripped up. Most platforms _do_ come with one pre-installed, but there are sometimes cracks. For instance, Windows is _supposed_ to have a default Javascript runtime installed: JScript. But you can''t ever be 100% sure of what people''s PATHs are, if they''ve screwed around with things... I''m not sure how the error message could be made better: it says exactly what to do to address the problem. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/groups/opt_out.
Possibly Parallel Threads
- `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes
- Trouble setting up Rails with a JS runtime environment
- How install libv8 (therubyracer) Windows 7
- Can't upgrade to 4 beta 1
- installing ruby on rails 1.9.3 on windows 7