$ rails -m http://gist.github.com/raw/338169/3a1d8e8eb1dde41479d2606019c0df031df7d872/rails23-bundler-template.rb foo
$ cd foo
source :gemcutter
gem 'rails', '2.3.5', :require => nil
gem 'sqlite3-ruby'
module A | |
def foo | |
"a" | |
end | |
alias bar foo | |
end | |
module B | |
def foo |
Gem::Specification.new do |s| | |
s.name = "A" | |
s.version = "0.0.0" | |
s.summary = "Gem A" | |
end |
gems: | |
- ivy4r | |
ivy: | |
settings.file: ivysettings.xml |
gems: | |
- ivy4r | |
ivy: | |
settings.file: ivysettings.xml |
define 'foo' do | |
Java.java.lang.System.setProperty("foo", "bar") | |
end |
# server running with `rackup -s mongrel multiple.ru` | |
$ curl -v http://127.0.0.1:9292/ | |
* About to connect() to 127.0.0.1 port 9292 (#0) | |
* Trying 127.0.0.1... connected | |
* Connected to 127.0.0.1 (127.0.0.1) port 9292 (#0) | |
> GET / HTTP/1.1 | |
> User-Agent: curl/7.20.0 (i386-apple-darwin10.3.0) libcurl/7.20.0 OpenSSL/0.9.8n zlib/1.2.5 libidn/1.18 | |
> Host: 127.0.0.1:9292 | |
> Accept: */* |
run proc { |env| | |
[ | |
200, | |
{ "Content-Type" => "text/plain", "X-Foo" => "Bar\nBaz" }, | |
["Foo?\n"] | |
] | |
} |
Gemfile.lock | |
*.sqlite3 |
gemspec |