Permalink
Browse files

no need for ./ in File.read

  • Loading branch information...
1 parent cb5c0f5 commit 4aac27a9530d411ce4d912480b951722b2a72954 @dchelimsky dchelimsky committed Apr 3, 2011
Showing with 3 additions and 5 deletions.
  1. +1 −1 Gemfile-3-0-stable
  2. +1 −1 Gemfile-master
  3. +0 −2 Rakefile
  4. +1 −1 Thorfile
View
@@ -1,4 +1,4 @@
-instance_eval(File.read("./Gemfile-base"))
+instance_eval(File.read("Gemfile-base"))
gem "rails", :git => "git://github.com/rails/rails.git", :branch => "3-0-stable"
gem "arel", :git => "git://github.com/rails/arel.git", :branch => "2-0-stable"
View
@@ -1,4 +1,4 @@
-instance_eval(File.read("./Gemfile-base"))
+instance_eval(File.read("Gemfile-base"))
gem "rails", :git => "git://github.com/rails/rails.git"
gem "arel", :git => "git://github.com/rails/arel.git"
View
@@ -111,5 +111,3 @@ task :relish, :version do |t, args|
end
task :default => [:spec, "clobber:app", "generate:app", "generate:stuff", :smoke, :cucumber]
-
-
View
@@ -5,7 +5,7 @@ class Rails < Thor
`rm Gemfile` if File.exist?('./Gemfile')
case version
when /^\d\.\d/
- `echo 'instance_eval(File.read("./Gemfile-base"))' >> Gemfile`
+ `echo 'instance_eval(File.read("Gemfile-base"))' >> Gemfile`
`echo 'gem "rails", "#{version}"' >> Gemfile`
else
`cp Gemfile-#{version} Gemfile`

0 comments on commit 4aac27a

Please sign in to comment.