vitalsource / LTI2-Reference

MIT License
21 stars 15 forks source link

Fails to find myformtastic_changes.css #2

Closed mcorrigan closed 10 years ago

mcorrigan commented 10 years ago

When setting up the provider, the following error is reported.

ActionController::RoutingError (No route matches [GET] "/assets/my_formtastic_changes.css"): actionpack (3.2.6) lib/action_dispatch/middleware/debug_exceptions.rb:21:in call' actionpack (3.2.6) lib/action_dispatch/middleware/show_exceptions.rb:56:incall' railties (3.2.6) lib/rails/rack/logger.rb:26:in call_app' railties (3.2.6) lib/rails/rack/logger.rb:16:incall' actionpack (3.2.6) lib/action_dispatch/middleware/request_id.rb:22:in call' rack (1.4.1) lib/rack/methodoverride.rb:21:incall' rack (1.4.1) lib/rack/runtime.rb:17:in call' activesupport (3.2.6) lib/active_support/cache/strategy/local_cache.rb:72:incall' rack (1.4.1) lib/rack/lock.rb:15:in call' actionpack (3.2.6) lib/action_dispatch/middleware/static.rb:62:incall' railties (3.2.6) lib/rails/engine.rb:479:in call' railties (3.2.6) lib/rails/application.rb:220:incall' rack (1.4.1) lib/rack/content_length.rb:14:in call' railties (3.2.6) lib/rails/rack/log_tailer.rb:17:incall' rack (1.4.1) lib/rack/handler/webrick.rb:59:in service' /home/mike/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/webrick/httpserver.rb:138:inservice' /home/mike/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/webrick/httpserver.rb:94:in run' /home/mike/.rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/webrick/server.rb:191:inblock in start_thread'

jrissler commented 10 years ago

@mcorrigan Did you add my_formtastic_changes.css to your apps assets directory?

Since these are engines your my_formtastic_changes.css would override the engines missing stylesheet + satisfy the issue.

I can add in the morning and push, or if you want to do a pull request we can get that in sooner.

mcorrigan commented 10 years ago

@jrissler Thanks for getting back on this. I know almost nothing about ruby or what file was meant to included. I just assumed from the error that a file wasn't committed. I'll wait for your update, thanks!

jrissler commented 10 years ago

I added the missing css to master.

I didn't test beyond that point but please let us know if you encounter other errors - thanks!