07 2014 档案
摘要:新的应用创建好了,使用rails server启动看看,oops!原来是没有javascript运行环境。12$ rails server /usr/local/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/runtimes.rb:51:in `a...
阅读全文
摘要:rake aborted! TypeError: can't convert Fixnum into String把配置的数据库密码改为字符串 pool: 5 username: root password: "1234" host: localhost
阅读全文
摘要:rails rake 版本问题 通常情况下,如果我们电脑上同时装了不同版本的rake时,运行rake命令时会出错,如: rake db:migrate rake aborted! You have already activated rake 0.9.2, but your G...
阅读全文
摘要:问题一:提示出错:cannot load such file -- mysql/mysql_api (LoadError)此时我们回来看gem install mysql 时提示At the time of building this gem, the necessary DLL files whe...
阅读全文
摘要:sudo apt-get install mysql-server mysql-client libmysqlclient-dev
阅读全文
摘要:1、关闭虚拟机ubuntu2、打开:编辑=> 虚拟网络编辑器3、打开后点击左下角恢复默认4、重启ubuntu就可以了
阅读全文
摘要:Ruby on Rails的安装,是从被称为RubyGems的包管理系统开始的。Ruby on Rails是由Ruby处理系统的类库的、被称为“gem”的格式来进行配置的。“gem”形式的类库,通过使用RubyGems,很容易的来进行安装/卸装。在本文档中,介绍了基于“面向Windows7的安装次序...
阅读全文
摘要:# sudo dpkg-reconfigure dash 选择否
阅读全文
摘要:3.* python -m http.server [port] &2.* python -m SimpleHTTPServer [port] &如python -m http.server 8080 &好想后面的&不要也行外网不能访问,可能是iptables没有打开8080...
阅读全文