Permalink
Browse files

moving to ENV variable checking inside Gemspec

  • Loading branch information...
1 parent b331e17 commit 16aee04b81e0e3165f61457528d107dac108c404 Davis W. Frank committed Jan 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 jasmine.gemspec
View
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
s.add_dependency 'selenium-rc', '>= 2.2.1'
s.add_dependency 'selenium-client', '>= 1.2.18'
- if ENV[RAILS_ENV] == 'rails2'
+ if ENV['RAILS_ENV'] == 'rails2'
# for development & test of Rails 2 Generators
s.add_development_dependency 'rspec', '1.3.1'
s.add_development_dependency 'rails', '2.3.10'

0 comments on commit 16aee04

Please sign in to comment.