Ruby on Rails Common configuration error Resolution

Source: Internet
Author: User
Tags ruby on rails

error:in ' require ': Cannot load such file--sqlite3/sqlite3_native (Loaderror)

Remove the D:\Ruby22-x64\lib\ruby\gems\2.2under Ruby first. 0 \cache Directory, then enter in cmd: Gem install Sqlite3, and finally into D:\Ruby22-x64\lib\ruby\gems\2.2. 0\specifications directory, find sqlite3-1.3. -x64-mingw32.gemspec file, change s.require_paths=["lib"to s.require_paths= [ " lib/sqlite3_native "]

Error:d:/ruby21-x64/lib/ruby/gems/2.1.0/gems/execjs-2.6.0/lib/execjs/runtimes ' AutoDetect ': Could not find a JavaScript Runtime. See Https://github.

/execjs for a list of available runtimes. (execjs::runtimeunavailable)

The actual error message has been given out to resolve the link https://Github.com/sstephenson/execjs, in the error message above  Look, just install this right after that. Therubyracer reference the plugin description: https://github.com/sstephenson/execjs#readme Install command # Gem Install Therubyracer

Ruby on Rails Common configuration error Resolution

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.