Permalink
Browse files

Make KDTree example use bundle to run rackup

  • Loading branch information...
1 parent f26f973 commit bd53a557e368406ed72eecc6580a67cb1916115e @krono krono committed Oct 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/persistence/kdtree/Rakefile
@@ -10,7 +10,7 @@ if MAGLEV
end
# rackup can be in different places, need to find the correct one
RACKUP = maglev_using_rvm ? \
- "#{ENV['BUNDLE_PATH']}/bin/rackup" : "#{ENV['MAGLEV_HOME']}/bin/rackup"
+ "#{ENV['BUNDLE_PATH']}/bin/rackup" : "#{ENV['MAGLEV_HOME']}/bin/bundle exec rackup"
else
puts "RUBY is MRI"
RUBY = 'ruby'

0 comments on commit bd53a55

Please sign in to comment.