leslin@leslinubt:~/workspace/rorails/leslincms$ rails console
/usr/local/ruby/lib/ruby/gems/1.9.1/gems/railties-3.0.8/lib/rails/script_rails_loader.rb:11: warning: insecure world writable dir /usr/local/ruby/bin in path, mode 040777
/usr/local/ruby/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/runtime.rb:136: warning: insecure world writable dir /usr/local/ruby/bin in path, mode 040777
/usr/local/ruby/lib/ruby/1.9.1/irb/completion.rb:9:in `require': no such file to load -- readline (loaderror)
from /usr/local/ruby/lib/ruby/1.9.1/irb/completion.rb:9:in `'
from /usr/local/ruby/lib/ruby/gems/1.9.1/gems/railties-3.0.8/lib/rails/commands/console.rb:3:in `require'
from /usr/local/ruby/lib/ruby/gems/1.9.1/gems/railties-3.0.8/lib/rails/commands/console.rb:3:in `'
from /usr/local/ruby/lib/ruby/gems/1.9.1/gems/railties-3.0.8/lib/rails/commands.rb:20:in `require'
from /usr/local/ruby/lib/ruby/gems/1.9.1/gems/railties-3.0.8/lib/rails/commands.rb:20:in `'
from script/rails:6:in `require'
from script/rails:6:in `'
解決方法:
sudo apt-get install libncurses5-devsudo apt-get install libreadline5-dev
cd /usr/src/ruby-1.8.7-p72/ext/readline
ruby extconf.rb
make
sudo make install
某個開機自啟的服務無法啟動導致系統無法啟動故障解決
cd etc init.d vim testsrv 輸入以下內容 bin bash chkconfig 2345 99 00 description this service is used for test case 1in start echo the service is started to...
oracle安裝筆記 sqlplus無法啟動
在任何位置輸入sqlplus顯示沒有找到命令,如下 oracle lcc bin sqlplus bash sqlplus command not found 檢視環境變數配置正確 export ld library path oracle home lib ld library path path...
Ubuntu 開機無法自啟 fcitx
在安裝好 搜狗拼音輸入法後,發現無論怎麼切換輸入法,都無法開啟。經過查詢資料,應該是由於4.2.4新版的fcitx與系統預設的locale有點問題。把下面這段 貼上到主資料夾下的.xprofile中 如果不存在這個檔案,則新建乙個。cd sudo vi xprofile輸入如下內容,儲存退出 exp...