Skip to content
Ruby implementation of GraphQL
Branch: master
Clone or download
rmosolgo Merge pull request #2186 from KohheePeace/add-tutorial
Add Tutorials sections to
Latest commit 087ee7c Mar 19, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
cop Add a cop to catch misused .none? Feb 6, 2019
guides Merge pull request #2186 from KohheePeace/add-tutorial Mar 19, 2019
javascript_client Merge pull request #2121 from rafaqat/master Mar 15, 2019
lib Fix ActionCableSubscriptions channel example Mar 18, 2019
spec provide empty hash as default option for field resolvers Mar 14, 2019
.rubocop.yml fix duplicate method in G::A::A::QueryComplexity Feb 21, 2019
.travis.yml Merge branch 'master' into 1.9-dev Jan 10, 2019
.yardopts doc(guides) write some new guides Oct 19, 2016
Appraisals pro-1.10.3 Mar 13, 2019 Replace `-> (...)` with `->(...)` to be Ruby 1.9.3 compatible Oct 16, 2016
Gemfile add jekyll-redirect-from to Gemfile for fixing 'bundle exec rake site… Dec 21, 2018
Guardfile Try removing incompatible guard-bundler Jan 4, 2019
graphql-ruby.svg feat(website) make new layout May 27, 2017
graphql.gemspec Use https:// everywhere where possible Feb 12, 2019

graphql graphql-ruby

Build Status Gem Version Code Climate Test Coverage built with love

A Ruby implementation of GraphQL.


Install from RubyGems by adding it to your Gemfile, then bundling.

# Gemfile
gem 'graphql'
$ bundle install

Getting Started

$ rails generate graphql:install

After this, you may need to run bundle install again, as by default graphiql-rails is added on installation.

Or, see "Getting Started".


I also sell GraphQL::Pro which provides several features on top of the GraphQL runtime, including Pundit authorization, CanCan authorization, Pusher-based subscriptions and persisted queries. Besides that, Pro customers get email support and an opportunity to support graphql-ruby's development!


  • Implement the GraphQL spec & support a Relay front end
  • Provide idiomatic, plain-Ruby API with similarities to reference implementation where possible
  • Support Ruby on Rails and Relay

Getting Involved

You can’t perform that action at this time.