Resolving Rails Server Error issues

Source: Internet
Author: User
Tags posix require

sam@linux-qo4p:~/front/ror|master⚡⇒  Rails Server
Ignoring RedCloth-4.2.9 because it extensions are not built.  Try:gem Pristine RedCloth-4.2.9
Ignoring posix-spawn-0.3.9 because its extensions are not built.  T Ry:gem pristine posix-spawn-0.3.9
Ignoring rdiscount-2.1.7.1 because its extensions are not built.  try:gem pri Stine rdiscount-2.1.7.1
/usr/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:54:in ' require ': Cannot load such file--Bundler/setup (loaderror)
        from/usr/lib/ruby/ Site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:54:in ' require '
         From/home/sam/front/ror/config/boot.rb:4:in ' <top (required) > '
         from Bin/rails:3:in ' require_relative '
        from Bin/rails:3: In ' <main> '

This seems to be the mistake I made when I upgraded the OpenSUSE system from 13.1 to 13.2.
In my case, try the hint method in the error message the gem pristine Redcloth does not eliminate the above error.
The Final Solution is:

Gem Pristine--all

Switch to the project root directory, bundle install

Run the Rails server again, you can start correctly without error. Since then, the new project from rails new is no longer an error

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.