--- /dev/null
+source 'https://rubygems.org'
+source 'http://gems.github.com'
+
+gem 'rails', '2.3.17'
+gem 'pg'
+gem 'rmagick', '2.13.2'
+gem 'gettext', '2.1.0'
+gem 'gruff', '0.3.6'
+gem 'webmock', '1.3.4'
+gem 'thoughtbot-factory_girl', '1.2.2'
+gem 'json'
+gem 'daemons'
+gem 'moji'
+
+gem 'acts_as_list'
+gem 'acts_as_tree', '0.1.1'
+gem 'ar_fixtures'
+gem 'jpmobile', '0.0.8'
+gem 'resource_controller'
+gem 'will_paginate', '~> 2.3'
+gem 'yaml_waml'
+
+# 下記URLから取得したgemを展開して同梱したものからインストール
+# http://www.artonx.org/data/lhalib/lhalib-0.8.1.gem
+gem 'lhalib', '0.8.1', :path => 'vendor/gems/lhalib-0.8.1'
+
+# bundlerからのインストールがサポートされないのでプラグインとして同梱する
+#gem 'ssl_requirement'
+#gem 'rails-active-form', :git => 'git://github.com/realityforge/rails-active-form.git'
+#gem 'acts_as_paranoid', :git => 'git://github.com/technoweenie/acts_as_paranoid.git'
+#gem 'mbmail', :git => 'git://github.com/tmtysk/mbmail.git'
+#gem 'double_submit_protection', :git => 'git://github.com/herval/double_submit_protection.git'
+#gem 'image_submit_tag_ext', :git => 'git://github.com/champierre/image_submit_tag_ext.git'
+
+group :test do
+ gem 'rspec-rails', '1.2.9'
+ gem 'rspec', '1.2.9'
+end
--- /dev/null
+PATH
+ remote: vendor/gems/lhalib-0.8.1
+ specs:
+ lhalib (0.8.1)
+
+GEM
+ remote: https://rubygems.org/
+ remote: http://gems.github.com/
+ specs:
+ actionmailer (2.3.17)
+ actionpack (= 2.3.17)
+ actionpack (2.3.17)
+ activesupport (= 2.3.17)
+ rack (~> 1.1.0)
+ activerecord (2.3.17)
+ activesupport (= 2.3.17)
+ activeresource (2.3.17)
+ activesupport (= 2.3.17)
+ activesupport (2.3.17)
+ acts_as_list (0.1.9)
+ acts_as_tree (0.1.1)
+ addressable (2.3.4)
+ ar_fixtures (0.0.4)
+ hoe (>= 1.2.1)
+ crack (0.3.2)
+ daemons (1.1.9)
+ gettext (2.1.0)
+ locale (>= 2.0.5)
+ gruff (0.3.6)
+ hoe (3.6.2)
+ rake (>= 0.8, < 11.0)
+ jpmobile (0.0.8)
+ json (1.8.0)
+ locale (2.0.8)
+ moji (1.6)
+ pg (0.15.1)
+ rack (1.1.6)
+ rails (2.3.17)
+ actionmailer (= 2.3.17)
+ actionpack (= 2.3.17)
+ activerecord (= 2.3.17)
+ activeresource (= 2.3.17)
+ activesupport (= 2.3.17)
+ rake (>= 0.8.3)
+ rake (10.0.4)
+ resource_controller (0.6.6)
+ rmagick (2.13.2)
+ rspec (1.2.9)
+ rspec-rails (1.2.9)
+ rack (>= 1.0.0)
+ rspec (>= 1.2.9)
+ thoughtbot-factory_girl (1.2.2)
+ webmock (1.3.4)
+ addressable (>= 2.1.1)
+ crack (>= 0.1.7)
+ will_paginate (2.3.16)
+ yaml_waml (0.3.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ acts_as_list
+ acts_as_tree (= 0.1.1)
+ ar_fixtures
+ daemons
+ gettext (= 2.1.0)
+ gruff (= 0.3.6)
+ jpmobile (= 0.0.8)
+ json
+ lhalib (= 0.8.1)!
+ moji
+ pg
+ rails (= 2.3.17)
+ resource_controller
+ rmagick (= 2.13.2)
+ rspec (= 1.2.9)
+ rspec-rails (= 1.2.9)
+ thoughtbot-factory_girl (= 1.2.2)
+ webmock (= 1.3.4)
+ will_paginate (~> 2.3)
+ yaml_waml
class Boot
def run
load_initializer
+
+ Rails::Initializer.class_eval do
+ def load_gems
+ @bundler_loaded ||= Bundler.require :default, Rails.env
+ end
+ end
+
Rails::Initializer.run(:set_load_path)
end
end
--- /dev/null
+begin
+ require 'rubygems'
+ require 'bundler'
+rescue LoadError
+ raise "Could not load the bundler gem. Install it with `gem install bundler`."
+end
+
+if Gem::Version.new(Bundler::VERSION) <= Gem::Version.new("0.9.24")
+ raise RuntimeError, "Your bundler version is too old for Rails 2.3.\n" +
+ "Run `gem install bundler` to upgrade."
+end
+
+begin
+ # Set up load paths for all bundled gems
+ ENV["BUNDLE_GEMFILE"] = File.expand_path("../../Gemfile", __FILE__)
+ Bundler.setup
+rescue Bundler::GemNotFound
+ raise RuntimeError, "Bundler couldn't find some gems.\n" +
+ "Did you run `bundle install`?"
+end