Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (15 sloc) 0.36 kb
class Version < Thor
desc "use VERSION", "installs the bundle the rails-VERSION"
def use(version)
`rm Gemfile.lock`
`echo #{version} > ./.rails-version`
"bundle install --binstubs".tap do |m|
say m
system m
end
end
desc "which", "print out the configured rails version"
def which
say `cat ./.rails-version`
end
end
Jump to Line
Something went wrong with that request. Please try again.