mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-21 21:40:48 +02:00
fix #897. The dependency on rspec added to environment.rb. Rake always loads the rspec task from /lib/tasks, so the gem is required for all environments.
this is ugly :-(
This commit is contained in:
parent
f2a1f86274
commit
0a23405d4b
2 changed files with 5 additions and 1 deletions
|
@ -23,6 +23,9 @@ Rails::Initializer.run do |config|
|
|||
|
||||
config.gem "highline"
|
||||
config.gem "RedCloth"
|
||||
# Need to do rspec here and not in test.rb. Needed for rake to work which loads
|
||||
# the rspec.task file
|
||||
config.gem "rspec", :lib => false, :version => ">=1.2.2"
|
||||
|
||||
config.action_controller.use_accept_header = true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue