原创 rails 編譯的時候出現Don't know how to build task 'assets:precompile'

運行:RAILS_ENV=development bundle exec rake assets:precompile 出現如下錯誤:Don't know how to build task 'assets:precompile' 解決方案

原创 還在爲Debian 64位 下使用firfox發愁麼,今天就給大家園了此夢

問題: ./firefox     運行firefox提示如下錯誤:                                                                  ./firefox: error whi

原创 git 創建 .gitignore 文件 建立項目過濾規則

創建 .gitignore 隨意設置想跟蹤哪些文件 和不跟蹤哪些文件. 1.在項目根目錄下建立 .gitignore 文件 2.   .gitignore文件過濾有兩種模式,開放模式和保守模式 2.1開放模式負責設置過濾哪些文件和文件夾 e

原创 rails 在form的錯誤信息生成class爲field_with_errors 的div的問題

rails 在form的錯誤信息生成class爲field_with_errors  的div的問題 在application.rb文件裏面加入以下配置即可 config.action_view.field_error_proc = pr

原创 Debian開機啓動項管理

首先採用rcconf 管理 apt-get install rcconf 在/etc/init.d/建立啓動腳本 如: vi start 在start 中寫入啓動命名 如自動撥號:pon dsl-provider chmod 700 sta

原创 rubycas-server,rubycas-server國際化

rubycas-server 國際化出現問題,<span style="color: red">[label.central_login_title]</span> 修改如下文件即可:/program/ruby/lib/ruby/gems/

原创 linux 文件編碼轉換

1. enconv 轉換文件編碼,比如要將一個GBK編碼的文件轉換成UTF-8編碼,操作如下enconv -L zh_CN -x UTF-8 filename 2. iconv 轉換,iconv的命令格式如下:iconv -f encodi

原创 <span style="color: red">[label.central_login_title]</span>

rubycas-server 出現 <span style="color: red">[label.central_login_title]</span>情況,修改 program/ruby/lib/ruby/gems/1.8/gems/r

原创 我的友情鏈接

51CTO博客開發

原创 mongodb 在debian 下面重裝

shell>aptitude search mongodb i   mongodb                                                  - An object/document-oriented

原创 debian 6.4 64位下面使用flash 和觸摸板

安裝這個軟件即可 flashplugin-nonfree 操作命令:aptitude install flashplugin-nonfree 至於觸摸板,運行命令即可搞定 synclient TouchpadOff=1 //禁用觸摸板