!もっかいherokuでRails
>> code bash
$ mkdir  windowshopping
$ bundle init
Writing new Gemfile to /****/Gemfile
$ cat Gemfile 
# A sample Gemfile
source "https://rubygems.org"

# gem "rails"
<<

まぁうごきそうだ

>> code bash
$ bundle install --path vendor/bundle --without production
The Gemfile specifies no dependencies
Your bundle is complete! It was installed into ./vendor/bundle

<<

できた?

>> code bash
$ bundle exec rails new . --skip-bundle
/var/lib/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/rubygems_integration.rb:147:in `block in replace_gem': railties is not part of the bundle. Add it to Gemfile. (Gem::LoadError)
	from /usr/local/bin/rails:22:in `<main>'

<<

あれ?
あ、railsコメントアウトしたままだった、、

>> code bash
$ cat Gemfile
# A sample Gemfile
source "https://rubygems.org"

gem "rails"

$ bundle install --path vendor/bundle --without production

<<
コメントとった
あーこれでインストールできるのね

>> code bash
$ bundle exec rails new . --skip-bundle
       exist  
      create  README.rdoc
      create  Rakefile
      create  config.ru
      create  .gitignore
    conflict  Gemfile

<<
Gemfileぶつかったか、、
上書きするっと

で、もういっかいbundle installすればいいのかな

>>
(略)
group :development, :test do
  gem 'sqlite3'
end

group :production do
  gem 'pg'
end

(略)
<<

Gemfileを少し書きなおして再度bundle install
できたっと

>> code bash
$ bundle exec rails s
 windowshopping/vendor/bundle/ruby/1.9.1/gems/execjs-1.4.0/lib/execjs/runtimes.rb:51:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)


<<

ありゃ
前もハマったなこれ、、
5643382
wiki
1371358795