Permalink
Browse files

ci: move file refs

  • Loading branch information...
1 parent 342313f commit 012cee79df7a5e52855f59c1815087ae33f0d9f9 @dchelimsky dchelimsky committed Nov 21, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 Gemfile
  2. +1 −1 Rakefile
View
2 Gemfile
@@ -57,7 +57,7 @@ group :development do
end
end
-case version = ENV['RAILS_VERSION'] || File.read(".rails-version").chomp
+case version = ENV['RAILS_VERSION'] || File.read(File.expand_path("../.rails-version", __FILE__)).chomp
when /master/
gem "rails", :git => "git://github.com/rails/rails.git"
gem "journey", :git => "git://github.com/rails/journey.git"
View
2 Rakefile
@@ -62,7 +62,7 @@ namespace :generate do
task :app do |t|
unless File.directory?('./tmp/example_app')
sh "rails new ./tmp/example_app --skip-javascript --skip-gemfile --skip-git"
- bindir = File.expand_path("gemfiles/bin")
+ bindir = File.expand_path("bin")
if test ?d, bindir
Dir.chdir("./tmp/example_app") do
sh "rm -rf test"

0 comments on commit 012cee7

Please sign in to comment.