Entries from 2014-10-24 to 1 day

github上のgemを利用する

public repositoryの場合Gemfile gem 'nokogiri', :github => 'tenderlove/nokogiri'railsのようにrepository nameとgithub user nameが同じ場合は gem 'rails', :github => 'rails'また以下のようにHTTP(S)、SSH、gitも利用できる。 gem 'nokogiri', :git =…

sqlファイルをmysqlへimportする

mysql -u username -p database_name < file.sql 参考リンク How to import a SQL file using the command line in MySQL? - Stack Overflow