[iOS App]廃墟百花 vol.01 『さよなら川南造船所』 をリリース
廃墟の持つ魅力を様々な切り口から画像・映像とトークで解き明かしていくアプリ、
『廃墟百花』シリーズの第一弾『さよなら川南造船所』をリリースしました。
川南造船所は、佐賀県伊万里市の戦争遺構で、惜しまれながらも2012年に解体されました。
今回は川南造船所について4名のゲストがそれぞれの立場からその魅力を語り尽くします。
App Storeより無料提供中です。
ダウンロードはこちら
ゲスト・コメンテーター:
黒沢永紀 [ オープロジェクト]
ドイテフ [ 記憶屋「廃墟」]
梅津知弘 [ 川並造船所全国同盟]
前畑洋平 [ J-heritage]
著者・ナビゲーター:
西田信之 [ オープロジェクト ]
アプリケーション開発:
(株)アトトック
企画・制作:
(株)エス・シー・アライアンス
[Rails]deviseでログイン後に表示するページを変更
deviseでログイン後に遷移するページを変更するには、
ApplicationControllerにafter_sign_in_path_forを実装し遷移先を指定する。
def after_sign_in_path_for(resources) if user_signed_in? new_hoge_path elsif admin_signed_in? hoge_index_path end end
スマートフォン勉強会 in 埼玉 #12 1/28(土) 15:00〜 戸田公園
今月のスマートフォン勉強会は、1/28(土)に開催します。
開催場所はいつもどおり戸田公園です。
スマートフォン勉強会 in 埼玉 #12
日時:2012年1月28日(土) 15時〜17時30分
会場 : 戸田市起業支援センター オレンジキューブ 会議室 (埼玉県戸田市本町1-24-18)
参加登録は、こちら
ページめくりを途中でやめる方法
書籍アプリなど最後のページでページめくりしようとした時に、
少しだけめくれて元に戻るような感じにしたい。
ページを少しだけめくって、元に戻るようにアニメーションさせる。
詳細はAtotok Lab
http://www.atotok.com/labo/ios_dev/20120109070128.html
[iOS App]軍艦島黙示録 vol.02 「昭和のタイムカプセル」をリリース
12/9(金)にオープロジェクトの軍艦島黙示録の第二弾、
軍艦島黙示録 vol.02 「昭和のタイムカプセル」をリリースしました。
■DVD『とっておきの軍艦島ガイド』『軍艦島オデッセイ』、写真集『軍艦島 全景』等で
おなじみの軍艦島伝道師オープロジェクトによるトーキングブックシリーズ第二弾!
■軍艦島に残る生活の痕跡を中心に、操業時の写真や資料画像をふんだんに使用し、
軍艦島の生活を追跡。そこから見えてくる昭和時代に迫ります。
- アプリ内でアドオンを購入すると全ての機能が有効になります。
- 同一IDで購入する場合は2重に課金されることはありません。
- ギャラリーに収録されている写真はオープロジェクトが撮影したもののみとなります。
目次
お名前.comのVPSでRails3を動かす - (5) ファイアーウォールの設定
お名前.comのVPSでRails3を動かす - (4) アプリケーションを実行するとエラー
rails sでアプリケーションを実行するとエラーになってしまう。
# rails s /usr/local/lib/ruby/gems/1.9.1/gems/execjs-1.2.9/lib/execjs/runtimes.rb:47:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable) from /usr/local/lib/ruby/gems/1.9.1/gems/execjs-1.2.9/lib/execjs.rb:5:in `<module:ExecJS>' from /usr/local/lib/ruby/gems/1.9.1/gems/execjs-1.2.9/lib/execjs.rb:4:in `<top (required)>' from /usr/local/lib/ruby/gems/1.9.1/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `require' from /usr/local/lib/ruby/gems/1.9.1/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `<top (required)>' from /usr/local/lib/ruby/gems/1.9.1/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `require' from /usr/local/lib/ruby/gems/1.9.1/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `<top (required)>' from /usr/local/lib/ruby/gems/1.9.1/gems/coffee-rails-3.1.1/lib/coffee-rails.rb:1:in `require' from /usr/local/lib/ruby/gems/1.9.1/gems/coffee-rails-3.1.1/lib/coffee-rails.rb:1:in `<top (required)>' from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:in `require' from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:in `block (2 levels) in require' from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:in `each' from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:in `block in require' from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:in `each' from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:in `require' from /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.21/lib/bundler.rb:122:in `require' from /var/www/vhosts/00_default/user/work/test5/config/application.rb:7:in `<top (required)>' from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/commands.rb:52:in `require' from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/commands.rb:52:in `block in <top (required)>' from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/commands.rb:49:in `tap' from /usr/local/lib/ruby/gems/1.9.1/gems/railties-3.1.1/lib/rails/commands.rb:49:in `<top (required)>' from script/rails:6:in `require' from script/rails:6:in `<main>'
execjsとtherubyracerをインストール
プロジェクトのGemfileに下記の行を追加
gem 'execjs' gem 'therubyracer'
インストール
# bundle install
この状態でrails sを実行すると正常に起動
rails s => Booting WEBrick => Rails 3.1.1 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2011-11-06 21:33:21] INFO WEBrick 1.3.1 [2011-11-06 21:33:21] INFO ruby 1.9.3 (2011-10-30) [x86_64-linux] [2011-11-06 21:33:21] INFO WEBrick::HTTPServer#start: pid=11268 port=3000 [2011-11-06 21:33:24] INFO going to shutdown ... [2011-11-06 21:33:24] INFO WEBrick::HTTPServer#start done.
これで、rails s でアプリケーションが正常に起動できるようになった。