zoukankan      html  css  js  c++  java
  • ubuntu下配置rails环境遇到的错误

    1.Could not find gem 'sqlite3 (>= 0)' in any of the gem sources listed in you
    r Gemfile

    解决:sudo gem install sqlite3-ruby

    2.ERROR:  While executing gem ... (Gem::FilePermissionError)
        You don't have write permissions into the /usr/local/lib/ruby/gems/1.9.1 director.y

    解决:权限问题,前面加个sudo

    3.rails 3遇到 Could not find a JavaScript runtime execjs错误(ubuntu)

    解决:
    sudo apt-get install python-software-properties  
    sudo add-apt-repository ppa:chris-lea/node.js  
    sudo apt-get update  
    sudo apt-get install nodejs 
查看全文
  • 相关阅读:
    爬虫时http错误提示
    json.dumps()和json.loads()
    scrapy框架原理学习
    利用tushare进行对兴业银行股价的爬取,并使用numpy进行分析
    随机生成60位同学成绩,并求他们的平均数,中位数,众数等
    numpy中random的使用
    matplotlib中subplot的使用
    使用matplotlib画饼图
    乔坟,乔坟!
    c#控件的动画显示效果
  • 原文地址:https://www.cnblogs.com/ldxsuanfa/p/10620713.html
  • Copyright © 2011-2022 走看看