forked from rspec/rspec-expectations
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev: move dev-env gems to Gemfile-custom.sample
- Loading branch information
1 parent
f776aca
commit d67083c
Showing
3 changed files
with
68 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,28 @@ | |||
## Set up the dev environment | |||
|
|||
git clone git://github.com/rspec/rspec-expectations.git | |||
cd rspec-expectations | |||
gem install bundler | |||
bundle install | |||
|
|||
Now you should be able to run any of: | |||
|
|||
rake | |||
rake spec | |||
rake cucumber | |||
|
|||
Or, if you prefer to use the rspec and cucumber commands directly, you can either: | |||
|
|||
bundle exec rspec | |||
|
|||
Or ... | |||
|
|||
bundle install --binstubs | |||
bin/rspec | |||
|
|||
## Customize the dev enviroment | |||
|
|||
The Gemfile includes the gems you'll need to be able to run specs. If you want | |||
to customize your dev enviroment with additional tools like guard or | |||
ruby-debug, add any additional gem declarations to Gemfile-custom (see | |||
Gemfile-custom.sample for some examples). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,36 @@ | |||
group :development do | |||
gem 'interactive_rspec' | |||
gem 'yard' | |||
gem "relish", "~> 0.5.0" | |||
gem "guard-rspec", "0.5.0" | |||
gem "growl", "1.0.3" | |||
gem "spork", "0.9.0.rc9" | |||
|
|||
platforms :mri_18, :jruby do | |||
gem "rcov", "0.9.10" | |||
end | |||
|
|||
platforms :mri_18 do | |||
gem 'ruby-debug' | |||
end | |||
|
|||
platforms :mri_19 do | |||
case RUBY_VERSION | |||
when '1.9.2' | |||
gem 'ruby-debug19', '0.11.6' | |||
gem 'ruby-debug-base19', '0.11.25' | |||
gem 'linecache19', '0.5.12' | |||
when '1.9.3' | |||
# NOTE - see http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug | |||
# for help setting up ruby-debug19 on ruby 1.9.3 | |||
gem 'ruby-debug19', '0.11.6' | |||
gem 'ruby-debug-base19', '0.11.26' | |||
gem 'linecache19', '0.5.13' | |||
end | |||
end | |||
|
|||
platforms :mri_18, :mri_19 do | |||
gem "rb-fsevent", "~> 0.4.3.1" | |||
gem "ruby-prof", "~> 0.10.0" | |||
end | |||
end |