Giter VIP home page Giter VIP logo

Comments (4)

alphabt avatar alphabt commented on July 18, 2024 10

Same with Rails 6.0.0.rc1

$ rails s
=> Booting Puma
=> Rails 6.0.0.rc1 application starting in development
=> Run `rails server --help` for more startup options
Puma starting in single mode...
* Version 3.12.1 (ruby 2.6.3-p62), codename: Llamas in Pajamas
* Min threads: 5, max threads: 5
* Environment: development
* Listening on tcp://localhost:3000
Use Ctrl-C to stop
Started GET "/graphiql" for ::1 at 2019-06-05 13:52:00 +0800
   (41.7ms)  SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
Processing by GraphiQL::Rails::EditorsController#show as HTML
  Parameters: {"graphql_path"=>"/graphql"}
  Rendering /Users/<snipped>/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/graphiql-rails-1.7.0/app/views/graphiql/rails/editors/show.html.erb
  Rendered /Users/<snipped>/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/graphiql-rails-1.7.0/app/views/graphiql/rails/editors/show.html.erb (Duration: 28.6ms | Allocations: 852)
Completed 200 OK in 44ms (Views: 38.1ms | ActiveRecord: 0.0ms | Allocations: 2572)


Started GET "/stylesheets/graphiql/rails/application.css" for ::1 at 2019-06-05 13:52:00 +0800
Started GET "/javascripts/graphiql/rails/application.js" for ::1 at 2019-06-05 13:52:00 +0800

ActionController::RoutingError (No route matches [GET] "/stylesheets/graphiql/rails/application.css"):

EDIT: My issue was I had require 'sprockets/railtie' commented out in config/application.rb. Uncommenting it fixed the issue for me.

from graphiql-rails.

htmlboss avatar htmlboss commented on July 18, 2024 1

Same issue with Rails 7.0.2, but the solution @alphabt suggested fix it for me.

from graphiql-rails.

borakilicoglu avatar borakilicoglu commented on July 18, 2024

i had a same issue!

ActionController::RoutingError (No route matches [GET] "/javascripts/graphiql/rails/application.js"):

from graphiql-rails.

suyogtaksande avatar suyogtaksande commented on July 18, 2024

@htmlboss please check this link, following the steps mentioned here solved my problem.

from graphiql-rails.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.