tDiary が gem install tdiary で動かせるようになったんだなー
バックアップデータの整理をしていたら、tDiaryで動かしていた頃のデータが出てきた。
今どうなっているのか調べてみると、 gem install tdiary でサクッと動かせるらしい。
試してみた。
http://www.machu.jp/diary/20130507.html
[zunermuka ~]$ rbenv local 1.9.3-p429
[zunermuka ~]$ rbenv rehash
[zunermuka ~]$ ruby -v
ruby 1.9.3p429 (2013-05-15 revision 40747) [x86_64-darwin12.3.0]
[zunermuka ~]$ gem list
*** LOCAL GEMS ***
args_parser (0.1.4)
bigdecimal (1.1.0)
bundler (1.3.5)
faraday (0.8.7)
hashie (2.0.5, 1.2.0)
io-console (0.3)
json (1.8.0, 1.5.5)
minitest (5.0.1, 2.5.1)
multi_json (1.7.3)
multipart-post (1.2.0)
nokogiri (1.5.9)
oauth (0.4.7)
parallel (0.6.5)
rainbow (1.1.4)
rake (10.0.4, 0.9.2.2)
rdoc (4.0.1, 3.9.5)
rubocop (0.7.2)
rubygems-update (2.0.3)
simple_oauth (0.2.0)
tw (0.4.0)
twitter (4.6.2)
userstream (1.3.0)
yajl-ruby (1.1.0)
[zunermuka ~]$ gem install tdiary --no-document
ERROR: While executing gem ... (OptionParser::InvalidOption)
invalid option: --no-document
[zunermuka ~]$ gem install tdiary
Fetching: thor-0.18.1.gem (100%)
Fetching: tdiary-3.2.2.20130508.gem (100%)
Successfully installed thor-0.18.1
Successfully installed tdiary-3.2.2.20130508
2 gems installed
[zunermuka ~]$ rbenv rehash
[zunermuka ~]$ tdiary new tdiary
create tdiary
create tdiary/public
create tdiary/misc/plugin
create tdiary/README.md
create tdiary/Gemfile
create tdiary/config.ru
create tdiary/tdiary.conf.beginner
create tdiary/tdiary.conf.sample
create tdiary/tdiary.conf.sample-en
create tdiary/tdiary.conf
create tdiary/doc
create tdiary/doc/HOWTO-authenticate-in-rack.md
create tdiary/doc/HOWTO-make-io.md
create tdiary/doc/HOWTO-make-plugin.md
create tdiary/doc/HOWTO-make-theme.md
create tdiary/doc/HOWTO-testing-tDiary.md
create tdiary/doc/HOWTO-use-plugin.md
create tdiary/doc/HOWTO-write-tDiary.en.md
create tdiary/doc/HOWTO-write-tDiary.md
create tdiary/doc/INSTALL-paas.md
create tdiary/doc/INSTALL.md
create tdiary/doc/README.en.md
create tdiary/doc/README.md
create tdiary/doc/UPGRADE.md
create tdiary/doc/doc.css
run bundle install --without test development from "./tdiary"
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.0.4)
Using bundler (1.3.5)
Installing coffee-script-source (1.6.2)
Using multi_json (1.7.3)
Installing execjs (1.4.0)
Installing coffee-script (2.2.0)
Installing daemons (1.1.9)
Installing dalli (2.6.3)
Installing eventmachine (1.0.3)
Using multipart-post (1.2.0)
Using faraday (0.8.7)
Using hashie (2.0.5)
Installing hike (1.2.2)
Installing httpauth (0.2.0)
Installing jwt (0.1.8)
Using oauth (0.4.7)
Installing rack (1.5.2)
Installing oauth2 (0.8.1)
Installing omniauth (1.1.4)
Installing omniauth-oauth2 (1.1.1)
Installing omniauth-github (1.1.0)
Installing omniauth-oauth (1.0.1)
Installing omniauth-twitter (0.0.16)
Installing posix-spawn (0.3.6)
Using yajl-ruby (1.1.0)
Installing pygments.rb (0.5.0)
Installing redcarpet (2.2.2)
Installing redis (3.0.4)
Installing redis-namespace (1.3.0)
Installing tilt (1.4.1)
Installing sprockets (2.9.3)
Using thor (0.18.1)
Using tdiary (3.2.2.20130508)
Installing thin (1.5.1)
Installing unf_ext (0.0.6)
Installing unf (0.0.5)
Installing twitter-text (1.6.1)
Your bundle is complete!
Gems in the groups test and development were not installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
run bundle exec tdiary htpasswd from "./tdiary"
Input your username/password
Username: zunermuka
New password:
Re-type new password:
install finished
run `tdiary server` in tdiary directory to start server
[zunermuka ~]$ cd ./tdiary/
[zunermuka ~/tdiary]$ tdiary server
run bundle exec rackup from "."
>> Thin web server (v1.5.1 codename Straight Razor)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:9292, CTRL+C to stop
127.0.0.1 - - [18/May/2013 11:47:41] "GET / HTTP/1.1" 200 248 0.3793
127.0.0.1 - - [18/May/2013 11:47:41] "GET /favicon.ico HTTP/1.1" 404 - 0.0011
127.0.0.1 - - [18/May/2013 11:47:41] "GET /favicon.ico HTTP/1.1" 404 - 0.0009
127.0.0.1 - - [18/May/2013 11:47:42] "GET / HTTP/1.1" 200 3980 0.0803
127.0.0.1 - - [18/May/2013 11:47:43] "GET /assets/base.css HTTP/1.1" 200 3338 0.0056
127.0.0.1 - - [18/May/2013 11:47:43] "GET /assets/default/default.css HTTP/1.1" 200 10467 0.0059
127.0.0.1 - - [18/May/2013 11:47:43] "GET /assets/default/body.png HTTP/1.1" 200 115 0.0048
http://127.0.0.1:9292/
http://127.0.0.1:9292/update.rb?conf=default
今どうなっているのか調べてみると、 gem install tdiary でサクッと動かせるらしい。
試してみた。
http://www.machu.jp/diary/20130507.html
[zunermuka ~]$ rbenv local 1.9.3-p429
[zunermuka ~]$ rbenv rehash
[zunermuka ~]$ ruby -v
ruby 1.9.3p429 (2013-05-15 revision 40747) [x86_64-darwin12.3.0]
[zunermuka ~]$ gem list
*** LOCAL GEMS ***
args_parser (0.1.4)
bigdecimal (1.1.0)
bundler (1.3.5)
faraday (0.8.7)
hashie (2.0.5, 1.2.0)
io-console (0.3)
json (1.8.0, 1.5.5)
minitest (5.0.1, 2.5.1)
multi_json (1.7.3)
multipart-post (1.2.0)
nokogiri (1.5.9)
oauth (0.4.7)
parallel (0.6.5)
rainbow (1.1.4)
rake (10.0.4, 0.9.2.2)
rdoc (4.0.1, 3.9.5)
rubocop (0.7.2)
rubygems-update (2.0.3)
simple_oauth (0.2.0)
tw (0.4.0)
twitter (4.6.2)
userstream (1.3.0)
yajl-ruby (1.1.0)
[zunermuka ~]$ gem install tdiary --no-document
ERROR: While executing gem ... (OptionParser::InvalidOption)
invalid option: --no-document
[zunermuka ~]$ gem install tdiary
Fetching: thor-0.18.1.gem (100%)
Fetching: tdiary-3.2.2.20130508.gem (100%)
Successfully installed thor-0.18.1
Successfully installed tdiary-3.2.2.20130508
2 gems installed
[zunermuka ~]$ rbenv rehash
[zunermuka ~]$ tdiary new tdiary
create tdiary
create tdiary/public
create tdiary/misc/plugin
create tdiary/README.md
create tdiary/Gemfile
create tdiary/config.ru
create tdiary/tdiary.conf.beginner
create tdiary/tdiary.conf.sample
create tdiary/tdiary.conf.sample-en
create tdiary/tdiary.conf
create tdiary/doc
create tdiary/doc/HOWTO-authenticate-in-rack.md
create tdiary/doc/HOWTO-make-io.md
create tdiary/doc/HOWTO-make-plugin.md
create tdiary/doc/HOWTO-make-theme.md
create tdiary/doc/HOWTO-testing-tDiary.md
create tdiary/doc/HOWTO-use-plugin.md
create tdiary/doc/HOWTO-write-tDiary.en.md
create tdiary/doc/HOWTO-write-tDiary.md
create tdiary/doc/INSTALL-paas.md
create tdiary/doc/INSTALL.md
create tdiary/doc/README.en.md
create tdiary/doc/README.md
create tdiary/doc/UPGRADE.md
create tdiary/doc/doc.css
run bundle install --without test development from "./tdiary"
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.0.4)
Using bundler (1.3.5)
Installing coffee-script-source (1.6.2)
Using multi_json (1.7.3)
Installing execjs (1.4.0)
Installing coffee-script (2.2.0)
Installing daemons (1.1.9)
Installing dalli (2.6.3)
Installing eventmachine (1.0.3)
Using multipart-post (1.2.0)
Using faraday (0.8.7)
Using hashie (2.0.5)
Installing hike (1.2.2)
Installing httpauth (0.2.0)
Installing jwt (0.1.8)
Using oauth (0.4.7)
Installing rack (1.5.2)
Installing oauth2 (0.8.1)
Installing omniauth (1.1.4)
Installing omniauth-oauth2 (1.1.1)
Installing omniauth-github (1.1.0)
Installing omniauth-oauth (1.0.1)
Installing omniauth-twitter (0.0.16)
Installing posix-spawn (0.3.6)
Using yajl-ruby (1.1.0)
Installing pygments.rb (0.5.0)
Installing redcarpet (2.2.2)
Installing redis (3.0.4)
Installing redis-namespace (1.3.0)
Installing tilt (1.4.1)
Installing sprockets (2.9.3)
Using thor (0.18.1)
Using tdiary (3.2.2.20130508)
Installing thin (1.5.1)
Installing unf_ext (0.0.6)
Installing unf (0.0.5)
Installing twitter-text (1.6.1)
Your bundle is complete!
Gems in the groups test and development were not installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
run bundle exec tdiary htpasswd from "./tdiary"
Input your username/password
Username: zunermuka
New password:
Re-type new password:
install finished
run `tdiary server` in tdiary directory to start server
[zunermuka ~]$ cd ./tdiary/
[zunermuka ~/tdiary]$ tdiary server
run bundle exec rackup from "."
>> Thin web server (v1.5.1 codename Straight Razor)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:9292, CTRL+C to stop
127.0.0.1 - - [18/May/2013 11:47:41] "GET / HTTP/1.1" 200 248 0.3793
127.0.0.1 - - [18/May/2013 11:47:41] "GET /favicon.ico HTTP/1.1" 404 - 0.0011
127.0.0.1 - - [18/May/2013 11:47:41] "GET /favicon.ico HTTP/1.1" 404 - 0.0009
127.0.0.1 - - [18/May/2013 11:47:42] "GET / HTTP/1.1" 200 3980 0.0803
127.0.0.1 - - [18/May/2013 11:47:43] "GET /assets/base.css HTTP/1.1" 200 3338 0.0056
127.0.0.1 - - [18/May/2013 11:47:43] "GET /assets/default/default.css HTTP/1.1" 200 10467 0.0059
127.0.0.1 - - [18/May/2013 11:47:43] "GET /assets/default/body.png HTTP/1.1" 200 115 0.0048
http://127.0.0.1:9292/
http://127.0.0.1:9292/update.rb?conf=default
コメント