fujii@etch:~/amazon_ec2$ ec2-add-keypair rails_test | sed -e "1d" > rails_test.id fujii@etch:~/amazon_ec2$ chmod 400 rails_test.id fujii@etch:~/amazon_ec2$ ec2-run-instances ami-5394733a -k rails_test RESERVATION r-bdc2b0d4 174009430056 default INSTANCE i-4347612a ami-5394733a pending rails_test 0 m1.small 2009-06-24T04:18:35+0000 us-east-1a aki-a71cf9ce ari-a51cf9cc monitoring-disabled fujii@etch:~/amazon_ec2$ ec2-describe-instances RESERVATION r-bdc2b0d4 174009430056 default INSTANCE i-4347612a ami-5394733a ec2-75-101-235-17.compute-1.amazonaws.com domU-12-31-39-00-8A-53.compute-1.internal running rails_test 0 m1.small 2009-06-24T04:18:35+0000 us-east-1a aki-a71cf9ce ari-a51cf9cc monitoring-disabled fujii@etch:~/amazon_ec2$ ssh -i rails_test.id root@ec2-75-101-235-17.compute-1.amazonaws.com The authenticity of host 'ec2-75-101-235-17.compute-1.amazonaws.com (75.101.235.17)' can't be established. RSA key fingerprint is 4c:db:5c:1b:96:4c:d1:a4:a2:4e:8b:8d:e2:53:b4:cc. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'ec2-75-101-235-17.compute-1.amazonaws.com,75.101.235.17' (RSA) to the list of known hosts. Linux (none) 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:39:36 EST 2008 i686 EC2 on Rails Version 0.9.9.1 http://rubyforge.org/projects/ec2onrails/ Copyright 2007 Paul Dowman, http://pauldowman.com/ Base AMI built using Eric Hammond's EC2 Ubuntu script: http://alestic.com/ This is free software, and you are welcome to redistribute it under certain conditions. This software comes with ABSOLUTELY NO WARRANTY. See /usr/local/ec2onrails/COPYING for details. root@ec2-75-101-235-17-production:~#/etc/init.d/mysql start root@ec2-75-101-235-17-production:~# mysql -u root root@ec2-75-101-235-17-production:~# create database XXXX character set utf8 root@ec2-75-101-235-17-production:~# mysql -u root xxxxx < xxxx.sql root@ec2-75-101-235-17-production:~# tar zxvf rails_etch.tar.gz root@ec2-75-101-235-17-production:~# gem install -v=1.2.6 rails Successfully installed rails-1.2.6 1 gem installed root@ec2-75-101-235-17-production:~#ruby script/server ./script/../config/boot.rb:26:Warning: Gem::SourceIndex#search support for String patterns is deprecated => Booting Mongrel (use 'script/server webrick' to force WEBrick) => Rails application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... ** Rails loaded. ** Loading any Rails specific GemPlugins ** Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart). ** Rails signals registered. HUP => reload (without restart). It might not work well. ** Mongrel 1.1.5 available at 0.0.0.0:3000 ** Use CTRL-C to stop. Connection to ec2-75-101-235-17.compute-1.amazonaws.com closed. fujii@etch:~/amazon_ec2$ ec2-describe-instances RESERVATION r-bdc2b0d4 174009430056 default INSTANCE i-4347612a ami-5394733a ec2-75-101-235-17.compute-1.amazonaws.com domU-12-31-39-00-8A-53.compute-1.internal running rails_test 0 m1.small 2009-06-24T04:18:35+0000 us-east-1a aki-a71cf9ce ari-a51cf9cc monitoring-disabled fujii@etch:~/amazon_ec2$ ec2-terminate-instances i-4347612a INSTANCE i-4347612a running shutting-down fujii@etch:~/amazon_ec2$ $ export AWS_ACCESS_KEY_ID='XXXXXXXXXXXXXXXXXXXX' $ export AWS_SECRET_ACCESS_KEY='XXXXXXXXXXXXXXXXXXXXXXXXXXX' fujii@etch:~/amazon_ec2$ ruby /usr/local/s3sync/s3sync.rb -s -r --delete /home/fujii/DBBackup fujii-bucket:data/ warning: peer certificate won't be verified in this SSL session fujii@etch:~/amazon_ec2$ ./mysql reload * Reloading MySQL database server mysqld /usr/bin/mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists! どうも、/mnt にうまくデータが配置されていないようだ root@ec2-174-129-139-157-production:~# cd /mnt root@ec2-174-129-139-157-production:/mnt# ls app log lost+found mysql_data tmp root@ec2-174-129-139-157-production:/mnt# root@ec2-174-129-139-157-production:/mnt# ls -la total 40 drwxr-xr-x 7 root root 4096 2009-06-30 05:54 . drwxr-xr-x 20 root root 4096 2009-06-30 05:54 .. drwxr-xr-x 2 app app 4096 2009-06-30 05:54 app drwxr-xr-x 5 root root 4096 2009-06-30 05:54 log drwx------ 2 root root 16384 2009-06-02 22:13 lost+found drwxr-xr-x 4 mysql mysql 4096 2009-06-30 05:54 mysql_data drwxrwxrwx 2 root root 4096 2009-06-30 05:54 tmp root@ec2-174-129-139-157-production:/mnt# root@ec2-174-129-139-157-production:/mnt/mysql_data# ls -la total 16 drwxr-xr-x 4 mysql mysql 4096 2009-06-30 05:54 . drwxr-xr-x 7 root root 4096 2009-06-30 05:54 .. drwxr-xr-x 2 mysql root 4096 2009-01-27 18:19 mysql drwxr-xr-x 2 mysql mysql 4096 2009-06-30 05:54 tmp root@ec2-174-129-139-157-production:/mnt/mysql_data# root@ec2-174-129-139-157-production:/mnt/mysql_data# cd mysql root@ec2-174-129-139-157-production:/mnt/mysql_data/mysql# ls columns_priv.frm help_relation.MYI time_zone_leap_second.frm columns_priv.MYD help_topic.frm time_zone_leap_second.MYD columns_priv.MYI help_topic.MYD time_zone_leap_second.MYI db.frm help_topic.MYI time_zone.MYD db.MYD host.frm time_zone.MYI db.MYI host.MYD time_zone_name.frm func.frm host.MYI time_zone_name.MYD func.MYD proc.frm time_zone_name.MYI func.MYI proc.MYD time_zone_transition.frm help_category.frm proc.MYI time_zone_transition.MYD help_category.MYD procs_priv.frm time_zone_transition.MYI help_category.MYI procs_priv.MYD time_zone_transition_type.frm help_keyword.frm procs_priv.MYI time_zone_transition_type.MYD help_keyword.MYD tables_priv.frm time_zone_transition_type.MYI help_keyword.MYI tables_priv.MYD user.frm help_relation.frm tables_priv.MYI user.MYD help_relation.MYD time_zone.frm user.MYI root@ec2-174-129-139-157-production:/mnt/mysql_data/mysql# ls -la total 788 drwxr-xr-x 2 mysql root 4096 2009-01-27 18:19 . drwxr-xr-x 4 mysql mysql 4096 2009-06-30 05:54 .. -rw-rw---- 1 mysql mysql 8820 2009-01-27 18:19 columns_priv.frm -rw-rw---- 1 mysql mysql 0 2009-01-27 18:19 columns_priv.MYD -rw-rw---- 1 mysql mysql 1024 2009-01-27 18:19 columns_priv.MYI -rw-rw---- 1 mysql mysql 9494 2009-01-27 18:19 db.frm -rw-rw---- 1 mysql mysql 876 2009-01-27 18:19 db.MYD -rw-rw---- 1 mysql mysql 4096 2009-01-27 18:19 db.MYI -rw-rw---- 1 mysql mysql 8665 2009-01-27 18:19 func.frm -rw-rw---- 1 mysql mysql 0 2009-01-27 18:19 func.MYD -rw-rw---- 1 mysql mysql 1024 2009-01-27 18:19 func.MYI -rw-rw---- 1 mysql mysql 8700 2009-01-27 18:19 help_category.frm -rw-rw---- 1 mysql mysql 20916 2009-01-27 18:19 help_category.MYD -rw-rw---- 1 mysql mysql 3072 2009-01-27 18:19 help_category.MYI -rw-rw---- 1 mysql mysql 8612 2009-01-27 18:19 help_keyword.frm -rw-rw---- 1 mysql mysql 78997 2009-01-27 18:19 help_keyword.MYD -rw-rw---- 1 mysql mysql 14336 2009-01-27 18:19 help_keyword.MYI -rw-rw---- 1 mysql mysql 8630 2009-01-27 18:19 help_relation.frm -rw-rw---- 1 mysql mysql 7425 2009-01-27 18:19 help_relation.MYD -rw-rw---- 1 mysql mysql 16384 2009-01-27 18:19 help_relation.MYI -rw-rw---- 1 mysql mysql 8770 2009-01-27 18:19 help_topic.frm -rw-rw---- 1 mysql mysql 347064 2009-01-27 18:19 help_topic.MYD -rw-rw---- 1 mysql mysql 17408 2009-01-27 18:19 help_topic.MYI -rw-rw---- 1 mysql mysql 9416 2009-01-27 18:19 host.frm -rw-rw---- 1 mysql mysql 0 2009-01-27 18:19 host.MYD -rw-rw---- 1 mysql mysql 1024 2009-01-27 18:19 host.MYI -rw-rw---- 1 mysql mysql 9691 2009-01-27 18:19 proc.frm -rw-rw---- 1 mysql mysql 0 2009-01-27 18:19 proc.MYD -rw-rw---- 1 mysql mysql 1024 2009-01-27 18:19 proc.MYI -rw-rw---- 1 mysql mysql 8875 2009-01-27 18:19 procs_priv.frm -rw-rw---- 1 mysql mysql 0 2009-01-27 18:19 procs_priv.MYD -rw-rw---- 1 mysql mysql 1024 2009-01-27 18:19 procs_priv.MYI -rw-rw---- 1 mysql mysql 8947 2009-01-27 18:19 tables_priv.frm -rw-rw---- 1 mysql mysql 0 2009-01-27 18:19 tables_priv.MYD -rw-rw---- 1 mysql mysql 1024 2009-01-27 18:19 tables_priv.MYI -rw-rw---- 1 mysql mysql 8636 2009-01-27 18:19 time_zone.frm -rw-rw---- 1 mysql mysql 8624 2009-01-27 18:19 time_zone_leap_second.frm -rw-rw---- 1 mysql mysql 0 2009-01-27 18:19 time_zone_leap_second.MYD -rw-rw---- 1 mysql mysql 1024 2009-01-27 18:19 time_zone_leap_second.MYI -rw-rw---- 1 mysql mysql 0 2009-01-27 18:19 time_zone.MYD -rw-rw---- 1 mysql mysql 1024 2009-01-27 18:19 time_zone.MYI -rw-rw---- 1 mysql mysql 8606 2009-01-27 18:19 time_zone_name.frm -rw-rw---- 1 mysql mysql 0 2009-01-27 18:19 time_zone_name.MYD -rw-rw---- 1 mysql mysql 1024 2009-01-27 18:19 time_zone_name.MYI -rw-rw---- 1 mysql mysql 8686 2009-01-27 18:19 time_zone_transition.frm -rw-rw---- 1 mysql mysql 0 2009-01-27 18:19 time_zone_transition.MYD -rw-rw---- 1 mysql mysql 1024 2009-01-27 18:19 time_zone_transition.MYI -rw-rw---- 1 mysql mysql 8748 2009-01-27 18:19 time_zone_transition_type.frm -rw-rw---- 1 mysql mysql 0 2009-01-27 18:19 time_zone_transition_type.MYD -rw-rw---- 1 mysql mysql 1024 2009-01-27 18:19 time_zone_transition_type.MYI -rw-rw---- 1 mysql mysql 10330 2009-01-27 18:19 user.frm -rw-rw---- 1 mysql mysql 352 2009-01-27 18:19 user.MYD -rw-rw---- 1 mysql mysql 2048 2009-01-27 18:19 user.MYI root@ec2-174-129-139-157-production:/mnt/mysql_data/mysql# root@ec2-174-129-139-157-production:/mnt/log# ls -la total 88 drwxr-xr-x 5 root root 4096 2009-06-30 05:54 . drwxr-xr-x 7 root root 4096 2009-06-30 05:54 .. drwxr-xr-x 2 www-data www-data 4096 2009-06-30 05:54 apache2 -rw-r--r-- 1 root root 1060 2009-06-30 06:00 auth.log -rw-r--r-- 1 root root 72 2009-06-30 05:55 daemon.log -rw-r--r-- 1 root root 1863 2009-06-30 05:54 debug drwxr-xr-x 2 root root 4096 2009-06-30 05:54 fsck -rw-r--r-- 1 root root 13604 2009-06-30 05:54 kern.log -rw-r--r-- 1 root root 0 2009-06-30 05:54 lpr.log -rw-r--r-- 1 root root 0 2009-06-30 05:54 mail.err -rw-r--r-- 1 root root 118 2009-06-30 05:54 mail.info -rw-r--r-- 1 root root 118 2009-06-30 05:54 mail.log -rw-r--r-- 1 root root 0 2009-06-30 05:54 mail.warn -rw-r--r-- 1 root root 12017 2009-06-30 05:54 messages drwxr-xr-x 2 mysql mysql 4096 2009-06-30 05:54 mysql -rw-r--r-- 1 root root 14941 2009-06-30 06:00 syslog -rw-r--r-- 1 root root 443 2009-06-30 05:54 user.log root@ec2-174-129-139-157-production:/mnt/log# JPmobile に挑戦 [fujii@centos ~]$ cd jpmobile-demo [fujii@centos jpmobile-demo]$ ./script/plugin install git://github.com/darashi/jpmobile.git removing: /home/fujii/jpmobile-demo/vendor/plugins/jpmobile/.git sh: git: command not found [fujii@centos jpmobile-demo]$ ./script/console Loading development environment (Rails 2.1.2) /home/fujii/lib/ruby/1.8/irb/completion.rb:10:in `require': no such file to load -- readline (LoadError) from /home/fujii/lib/ruby/1.8/irb/completion.rb:10 from /home/fujii/lib/ruby/1.8/irb/init.rb:252:in `require' from /home/fujii/lib/ruby/1.8/irb/init.rb:252:in `load_modules' from /home/fujii/lib/ruby/1.8/irb/init.rb:250:in `each' from /home/fujii/lib/ruby/1.8/irb/init.rb:250:in `load_modules' from /home/fujii/lib/ruby/1.8/irb/init.rb:21:in `setup' from /home/fujii/lib/ruby/1.8/irb.rb:54:in `start' from /home/fujii/bin/irb:13 [fujii@centos jpmobile-demo]$ su パスワード: [root@centos jpmobile-demo]# gem install jpmobile Successfully installed activesupport-2.3.2 Successfully installed actionpack-2.3.2 Successfully installed jpmobile-0.0.4 3 gems installed Installing ri documentation for activesupport-2.3.2... Installing ri documentation for actionpack-2.3.2... Installing ri documentation for jpmobile-0.0.4... Installing RDoc documentation for activesupport-2.3.2... Installing RDoc documentation for actionpack-2.3.2... Installing RDoc documentation for jpmobile-0.0.4... [root@centos jpmobile-demo]# [fujii@centos jpmobile-demo]$ ruby ./script/server -p 3000 -e production => Booting WEBrick... /home/fujii/lib/ruby/site_ruby/1.8/rubygems.rb:147:in `activate': can't activate actionpack (>= 2.2.2, runtime), already activated actionpack-2.1.2 (Gem::Exception) from /home/fujii/lib/ruby/site_ruby/1.8/rubygems.rb:163:in `activate' from /home/fujii/lib/ruby/site_ruby/1.8/rubygems.rb:162:in `each' from /home/fujii/lib/ruby/site_ruby/1.8/rubygems.rb:162:in `activate' from /home/fujii/lib/ruby/site_ruby/1.8/rubygems.rb:49:in `gem' from /home/fujii/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/rails/gem_dependency.rb:36:in `add_load_paths' from /home/fujii/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/initializer.rb:245:in `add_gem_load_paths' from /home/fujii/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/initializer.rb:245:in `each' from /home/fujii/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/initializer.rb:245:in `add_gem_load_paths' ... 15 levels... from /home/fujii/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/commands/server.rb:39 from /home/fujii/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from /home/fujii/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from ./script/server:3 [fujii@centos jpmobile-demo]$ [fujii@centos config]$ vi environment.rb [fujii@centos config]$ cd .. [fujii@centos jpmobile-demo]$ ./script/generate controller pc index exists app/controllers/ exists app/helpers/ create app/views/pc exists test/functional/ create app/controllers/pc_controller.rb create test/functional/pc_controller_test.rb create app/helpers/pc_helper.rb create app/views/pc/index.html.erb [fujii@centos jpmobile-demo]$ ./script/server => Booting WEBrick... => Rails 2.1.2 application started on http://0.0.0.0:3000 => Ctrl-C to shutdown server; call with --help for options [2009-07-10 07:13:19] INFO WEBrick 1.3.1 [2009-07-10 07:13:19] INFO ruby 1.8.6 (2009-03-31) [i686-linux] [2009-07-10 07:13:19] INFO WEBrick::HTTPServer#start: pid=3576 port=3000 172.21.21.16 - - [10/Jul/2009:07:13:33 JST] "GET /pc/ HTTP/1.1" 500 11862 - -> /pc/ 172.21.21.16 - - [10/Jul/2009:07:13:34 JST] "GET /favicon.ico HTTP/1.1" 200 0 - -> /favicon.ico 172.21.21.16 - - [10/Jul/2009:07:13:37 JST] "GET /favicon.ico HTTP/1.1" 304 0 - -> /favicon.ico [2009-07-10 07:17:47] INFO going to shutdown ... [2009-07-10 07:17:47] INFO WEBrick::HTTPServer#start done. [fujii@centos jpmobile-demo]$ rails -d mysql sample create create app/controllers create app/helpers create app/models create app/views/layouts create config/environments create config/initializers create db create doc create lib create lib/tasks create log create public/images create public/javascripts create public/stylesheets create script/performance create script/process create test/fixtures create test/functional create test/integration create test/unit create vendor create vendor/plugins create tmp/sessions create tmp/sockets create tmp/cache create tmp/pids create Rakefile create README create app/controllers/application.rb create app/helpers/application_helper.rb create test/test_helper.rb create config/database.yml create config/routes.rb create config/initializers/inflections.rb create config/initializers/mime_types.rb create config/initializers/new_rails_defaults.rb create config/boot.rb create config/environment.rb create config/environments/production.rb create config/environments/development.rb create config/environments/test.rb create script/about create script/console create script/dbconsole create script/destroy create script/generate create script/performance/benchmarker create script/performance/profiler create script/performance/request create script/process/reaper create script/process/spawner create script/process/inspector create script/runner create script/server create script/plugin create public/dispatch.rb create public/dispatch.cgi create public/dispatch.fcgi create public/404.html create public/422.html create public/500.html create public/index.html create public/favicon.ico create public/robots.txt create public/images/rails.png create public/javascripts/prototype.js create public/javascripts/effects.js create public/javascripts/dragdrop.js create public/javascripts/controls.js create public/javascripts/application.js create doc/README_FOR_APP create log/server.log create log/production.log create log/development.log create log/test.log [fujii@centos jpmobile-demo]$ いつものように「About your application's environment」のリンクをクリックしました。すると、そこに現れたのは「MissingSourceFile in Rails/infoController#properties」という怪しげな文字列。よく見ると「no such file to load -- sqlite3」 rails2.0 以降は sqlite3 が標準らしい [root@centos fujii]# yum -y install sqlite Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.oss.eznetsols.org * updates: centosh3.centos.org * addons: ftp.oss.eznetsols.org * extras: ftp.oss.eznetsols.org Setting up Install Process Parsing package install arguments Package sqlite-3.3.6-2.i386 already installed and latest version Nothing to do [root@centos fujii]# yum -y install sqlite-devel Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.oss.eznetsols.org * updates: centosh3.centos.org * addons: ftp.oss.eznetsols.org * extras: ftp.oss.eznetsols.org Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check ---> Package sqlite-devel.i386 0:3.3.6-2 set to be updated --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: sqlite-devel i386 3.3.6-2 base 260 k Transaction Summary ================================================================================ Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 260 k Downloading Packages: sqlite-devel-3.3.6-2.i386.rpm | 104 kB 00:47 ftp://ftp.oss.eznetsols.org/linux/centos/5.3/os/i386/CentOS/sqlite-devel-3.3.6-2.i386.rpm: [Errno 4] Socket Error: timed out Trying other mirror. sqlite-devel-3.3.6-2.i386.rpm | 260 kB 00:01 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing : sqlite-devel [1/1] Installed: sqlite-devel.i386 0:3.3.6-2 Complete! [root@centos fujii]# ls Desktop date4.rb rails a.out jdk-6u6-linux-i586-rpm.bin rubygems-1.3.0 asagao.dump jpmobile-demo rubygems-1.3.0.tgz bin kogaku_gassan.tar.gz rubygems-1.3.0.zip chapter2 lib rubygems-1.3.3.tgz chapter3 loop.c share chapter4 loop.rb skip-1.1.0 chapter5 loop1.c skip-1.1.0.tar.gz chapter6 mysql_dump.sql skip-1.1.0.zip chapter7 mysqlaccess.log skip_install.odt chapter8 netbeans-6.0.1-ml-ruby-linux.sh telsko.jpg chapter9 netbeans-6.5.1-ml-ruby-linux.sh [root@centos fujii]# cd jpmobile-demo [root@centos jpmobile-demo]# gem install sqlite3-ruby Building native extensions. This could take a while... Successfully installed sqlite3-ruby-1.2.4 1 gem installed Installing ri documentation for sqlite3-ruby-1.2.4... Installing RDoc documentation for sqlite3-ruby-1.2.4... [root@centos jpmobile-demo]# 大成功!「Welcome aboard」ページの「About your application's environment」もちゃんと表示されました。 次は git のインストール [fujii@centos ~]$ wget http://kernel.org/pub/software/scm/git/git-1.6.3.3.tar.gz git-1.6.0.1/xdiff/xtypes.h git-1.6.0.1/xdiff/xutils.c git-1.6.0.1/xdiff/xutils.h git-1.6.0.1/git.spec git-1.6.0.1/configure git-1.6.0.1/version git-1.6.0.1/git-gui/version [fujii@centos ~]$ cd git-1.6.0.1 [fujii@centos git-1.6.0.1]$ ./configure configure: CHECKS for programs checking for cc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for gar... no checking for ar... ar checking for gtar... gtar checking for asciidoc... no configure: CHECKS for libraries checking for SHA1_Init in -lcrypto... yes checking for curl_global_init in -lcurl... no checking for XML_ParserCreate in -lexpat... no checking for iconv in -lc... yes checking for deflateBound in -lz... yes checking for socket in -lc... yes configure: CHECKS for header files checking how to run the C preprocessor... cc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for old iconv()... no configure: CHECKS for typedefs, structures, and compiler characteristics checking for struct dirent.d_ino... yes checking for struct dirent.d_type... yes checking for struct sockaddr_storage... yes checking for struct addrinfo... yes checking for getaddrinfo... yes checking whether formatted IO functions support C99 size specifiers... yes checking whether system succeeds to read fopen'ed directory... no checking whether snprintf() and/or vsnprintf() return bogus value... no configure: CHECKS for library functions checking for strcasestr... yes checking for memmem... yes checking for strlcpy... no checking for strtoumax... yes checking for setenv... yes checking for unsetenv... yes checking for mkdtemp... yes configure: CHECKS for site configuration configure: creating ./config.status config.status: creating config.mak.autogen [fujii@centos git-1.6.0.1]$make && make install [fujii@centos git-1.6.0.1]$ cd ../ [fujii@centos ~]$ cd jpmobile-demo [fujii@centos jpmobile-demo]$ ./script/plugin install git://github.com/darashi/jpmobile.git removing: /home/fujii/jpmobile-demo/vendor/plugins/jpmobile/.git Initialized empty Git repository in /home/fujii/jpmobile-demo/vendor/plugins/jpmobile/.git/ remote: Counting objects: 902, done. remote: Compressing objects: 100% (776/776), done. remote: Total 902 (delta 136), reused 647 (delta 39) Receiving objects: 100% (902/902), 478.93 KiB | 346 KiB/s, done. Resolving deltas: 100% (136/136), done. [fujii@centos jpmobile-demo]$ [root@centos jpmobile-demo]# gem list *** LOCAL GEMS *** actionmailer (2.1.2, 1.3.5) actionpack (2.3.2, 2.1.2, 1.13.5) actionwebservice (1.2.5) activerecord (2.2.2, 2.1.2, 1.15.5) activeresource (2.1.2) activesupport (2.3.2, 2.2.2, 2.1.2, 1.4.4) atom-tools (1.0.0) composite_primary_keys (0.9.0) fastercsv (1.5.0, 1.2.3) gettext (1.93.0, 1.10.0) jpmobile (0.0.4) json (1.1.6) rails (2.1.2, 1.2.5) rake (0.8.4) ruby-openid (2.1.6) sqlite3-ruby (1.2.4) uuidtools (1.0.3) [root@centos jpmobile-demo]# |