You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I do require 'sinatra/sprockets/rake' in my Rakefile
and then I run $ rake assets:precompile I'm getting an error:
$ rake assets:precompile
rake aborted!
Don't know how to build task 'environment'
/Users/joshua/Projects/alphasights-sinatra-sprockets/lib/sinatra/sprockets/rake.rb:6:in `block (2 levels) in <top (required)>'
/Users/joshua/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `eval'
/Users/joshua/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `<main>'
Tasks: TOP => assets:clean:all
(See full trace by running task with --trace)
I removed "environment" from the equation and I then get:
rake aborted!
undefined method `settings' for nil:NilClass
/Users/joshua/Projects/alphasights-sinatra-sprockets/lib/sinatra/sprockets/rake.rb:37:in `block (3 levels) in <top (required)>'
/Users/joshua/Projects/alphasights-sinatra-sprockets/lib/sinatra/sprockets/rake.rb:6:in `block (2 levels) in <top (required)>'
/Users/joshua/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `eval'
/Users/joshua/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `<main>'
Tasks: TOP => assets:clean:all
(See full trace by running task with --trace)
The text was updated successfully, but these errors were encountered:
When I do
require 'sinatra/sprockets/rake'
in myRakefile
and then I run
$ rake assets:precompile
I'm getting an error:I removed "environment" from the equation and I then get:
The text was updated successfully, but these errors were encountered: