Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 34 lines (21 sloc) 1.432 kB
ca9836d @aslakhellesoy Improved build system and cucumber features. Still work to do for 3.0
aslakhellesoy authored
1 = Hacking on Cucumber-Rails
2
3 If you have a bugfix or a new feature you want to contribute, please fork on Github and make your own feature branch:
4
5 git clone git@github.com:you/cucumber-rails.git
6 git checkout -b 87-add-chinese-translation
7
8 The feature branch should contain a ticket number (if appliccable) and a descriptive name that aligns with the ticket name.
9
10 == Setting up your environment
11
12 Before you change anything, you should make sure you can run all the Cucumber features for Cucumber-Rails.
13 The first time you clone the repo you may have to install Rails for all of the Ruby versions we're testing against.
14 For this you need RVM:
15
16 === Installing rubies with RVM
17
18 sudo gem install rvm
19 rvm install 1.8.7 1.9.1
20
21 === Installing gems
22
23 In order to avoid conflicts we'll use RVM's gem sets to set up a gem set for each combination of Ruby version and Rails version
24 to be tested against. Open platforms.yml and modify the rubies section if you have different patchlevels for the rubies.
25
26 Installing the various gem sets is done with the following command:
27
28 rake gemsets:install
29
30 This will take 10-15 minutes to complete, as there are many gems to download. After you have done this once you shouldn't have
31 to do it again (unless future versions require new gems).
32
33 == Gotchas
34 * https://rails.lighthouseapp.com/projects/8994/tickets/3865-invalid-gemspec-format-in-and-already-initialized-constant-warnings-with-ruby-192dev
Something went wrong with that request. Please try again.