How to include gems in the project using Rails 2 and Ruby 1.9.3?

34 views Asked by At

I have the project built using

Rails 2.3.18
ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-linux]

I do not have any Gemfile my project so how include gems in it.

1

There are 1 answers

0
AudioBubble On

edit the app/config/environment.rb

config.gem 'will_paginate', :version => '~> 2.3.16'
config.gem 'ssl_requirement'
config.gem "ambethia-recaptcha", :lib => "recaptcha/rails", :source => "http://gems.github.com"