Cocould not find gem & #39; sqlite3 (& gt; = 0) & #39; in any of the gem sources listed in you r Gemfile, sqlite3gemfile

Source: Internet
Author: User
Tags redmine ruby on rails

Cocould not find gem 'sqlite3 (> = 0) 'in any of the gem sources listed in you r Gemfile, sqlite3gemfile
Solution: sudo gem install sqlite3-ruby
ERROR: cocould not find a valid gem 'rdiscount' (> = 0) in any repository

This problem happened to me for three nights. I have read the official English documents, wiki, and google group, and I can't solve it! The final reason was that ruby's remote gem repository was broken !! Ruby does not give any network exception prompts. You can also learn GFW from ruby!
We recommend that you set up a proxy in the command line (in windows, use cgywin, etc.) or flip the wall in other ways. After I flip the wall, the installation will be successful immediately.

Finally, I had to vomit: FUCK GFW !!!

How is it so troublesome for rails to configure redmine? This error has not been solved in the afternoon. It is depressing. rails is so awesome that the development speed was originally like this.

Sorry, I can't help you, but I still want to talk about it .. Ruby and ruby on rails: it is best to build an environment and a learning environment in linux/mac, because native is supported and there are many materials available. In windows, you may encounter many problems that are not encountered in linux/mac, because porting always has problems.
This should be the reason why rmagick didn't provide the gem package for the mingw environment (I guess, I'm not sure about the term ).
We recommend that you install a virtual machine, run ubuntu or centos, and then install rails.
Redmine, which is installed in linux. Except for the waiting time for online download, it takes about 10 minutes.

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.