Rails Install
How to configure Rails NES
Prerequisites
- Make sure your project meets the Minimum Requirements to ensure a smooth installation.
- The instructions below assume you are using Bundler to manage your gem dependencies. If your project isn't using Bundler, you should upgrade to Bundler.
- Make sure you have a current version of Rubygems and Bundler, otherwise you might run into random errors with dependency resolution.
Detailed Instructions
Installation
Open the Bundler config file (Gemfile) in your project's directory and find this line:
Gemfile
gem 'rails'
Replace that line with the following:
Gemfile
source 'https://username:password@registry.nes.herodevs.com/rubygems/' do
gem 'rails', '~>VERSION'
gem 'actionmailer', :require => false
gem 'actionpack', :require => false
gem 'activerecord', :require => false
gem 'activeresource', :require => false
gem 'activesupport', :require => false
gem 'railties', :require => false
gem 'railslts-version', :require => false
gem 'rack', :require => false
end
Note
Replace username with rails and password with NES_ACCESS_TOKEN