Skip to content

Commit

Permalink
add instructions on how to use the gem on rails
Browse files Browse the repository at this point in the history
  • Loading branch information
jvshahid committed Jul 22, 2015
1 parent edfefd2 commit c236a38
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,20 @@ not regularly tested.

== How To Install

*NOTE*: if you are installing jruby-pg to use it with rails you'll
have to install it using bundler

Install via RubyGems:

gem install pg_jruby

Install via Bundler, in your gemfile add the following:

# Please note that the 1.0 is necessary to let bundler do its dependency management, as there is no .gemspec in the source.
gem 'pg_jruby', '0.17.1', :platform => :jruby, :git => 'git://github.com/headius/jruby-pg.git', :branch => :master
gem 'pg', '0.17.1', :platform => :jruby, :git => 'git://github.com/headius/jruby-pg.git', :branch => :master

# comment the activerecord-jdbcsqlite3-adapter line
# gem 'activerecord-jdbcsqlite3-adapter'

== Copying

Expand Down

0 comments on commit c236a38

Please sign in to comment.