Sha256: 725449a7cb3b6d640ebb4553581d653e7879f97a6379bf89373c87e7053e68c3

Contents?: true

Size: 326 Bytes

Versions: 43

Compression:

Stored size: 326 Bytes

Contents

module Incline
  class CLI
    class Prepare
      
      private
      
      def install_rails(shell)
        shell.with_stat("Installing Rails #{@options[:rails_version]}") do
          shell.exec "gem install rails -v #{@options[:rails_version]}"
          shell.exec 'rbenv rehash'
        end
      end
    end
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
incline-0.2.6 lib/incline/cli/prepare/install_rails.rb
incline-0.2.5 lib/incline/cli/prepare/install_rails.rb
incline-0.2.4 lib/incline/cli/prepare/install_rails.rb