Skip to content

Commit

Permalink
ci: move file refs
Browse files Browse the repository at this point in the history
  • Loading branch information
dchelimsky committed Nov 21, 2011
1 parent 342313f commit 012cee7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 012cee7

Please sign in to comment.