2012-12-18から1日間の記事一覧
(MacOSX10.8, Emacs24.2) emacs-bash-completion szermatt/emacs-bash-completion · GitHub init.el (require 'bash-completion) (bash-completion-setup) ;; (setq bash-completion-initial-timeout 60) (setq bash-completion-process-timeout 7) (setq ba…
(MacOSX10.8, Emacs24.2) 問題 Emacs の shell-mode からデプロイしようとしたPermission deniedとかいわれてできなかった。 $ cap deploy : Permission denied (publickey). : >|| **対策 >|| $ ssh-agent bash $ ssh-add ~/.ssh/id_rsaこれで cap deploy …
(Rails3.2.8, MySQL5.1) 問題 $ rake db:create rake aborted! Access denied for user 'hoge'@'localhost' to database 'hoge_development' 解決策 訂正20121227 権限あるユーザ作成 GRANT ALL ON *.* TO 'hoge'@'localhost' IDENTIFIED BY 'password' WITH…
(Rails3.2.8) 問題 $ rails s : `start_tcp_server': no acceptor (port is in use or requires root privileges) (RuntimeError) :とかなってサーバー立ち上がらない 対策 rails s -p 8888 とかで動くので何か動いてるっぽい $ ps ax | grep rails00000………