lib/vx/builder/script/ruby.rb in vx-builder-0.0.11 vs lib/vx/builder/script/ruby.rb in vx-builder-0.0.12
- old
+ new
@@ -37,15 +37,10 @@
def rvm(env)
env.source.rvm.first
end
def gemfile(env)
- if env.source.gemfile
- env.source.gemfile.first
- else
- env.source.gemfile = ["Gemfile"]
- gemfile(env)
- end
+ env.source.gemfile.first || "Gemfile"
end
def make_rbenv_version_command(env)
select_rbenv_version(env)
end