Skip to content

Commit e43cdf3

Browse files
kim3ermislav
authored andcommitted
Add Gemfile for test dependencies
Closes #391
1 parent 25da392 commit e43cdf3

File tree

3 files changed

+26
-2
lines changed

3 files changed

+26
-2
lines changed

Gemfile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source 'http://rubygems.org'
2+
3+
gem 'sinatra'
4+
gem 'json'

Gemfile.lock

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
GEM
2+
remote: http://rubygems.org/
3+
specs:
4+
json (1.8.1)
5+
rack (1.5.2)
6+
rack-protection (1.5.3)
7+
rack
8+
sinatra (1.4.5)
9+
rack (~> 1.4)
10+
rack-protection (~> 1.4)
11+
tilt (~> 1.3, >= 1.3.4)
12+
tilt (1.4.1)
13+
14+
PLATFORMS
15+
ruby
16+
17+
DEPENDENCIES
18+
json
19+
sinatra

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,9 @@ $ cd jquery-pjax/
306306
To run the test suite locally, start up the Sinatra test application.
307307

308308
```
309-
$ ruby test/app.rb
310-
== Sinatra/1.3.2 has taken the stage on 4567 for development with backup from WEBrick
309+
$ bundle install
310+
$ bundle exec ruby test/app.rb
311+
== Sinatra/1.4.5 has taken the stage on 4567 for development with backup from WEBrick
311312
312313
$ open http://localhost:4567/
313314
```

0 commit comments

Comments
 (0)