
Description
Hello,
This worked fine in Rails 4.2 and Ruby 2.1.4, but now I'm using Rails 4.2 and Ruby 2.2.0.
Any help on this problem is greatly appreciated.
Thank you,
Terminal result:
ubuntu@ip:~/app$ RAILS_ENV=production bundle exec rake assets:precompile
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
[DEPRECATION] requiring "RMagick" is deprecated. Use "rmagick" instead
DEPRECATION WARNING: The configuration option config.serve_static_assets
has been renamed to config.serve_static_files
to clarify its role (it merely enables serving everything in the public
folder and is unrelated to the asset pipeline). The serve_static_assets
alias will be removed in Rails 5.0. Please migrate your configuration files accordingly. (called from block in <top (required)> at /home/ubuntu/app/config/environments/production.rb:24)
rake aborted!
NameError: uninitialized constant Typescript::Rails::Compiler
/home/ubuntu/.rvm/gems/ruby-2.2.0/gems/typescript-rails-0.6.2/lib/typescript/rails/template.rb:25:in evaluate' /home/ubuntu/.rvm/gems/ruby-2.2.0/gems/tilt-2.0.1/lib/tilt/template.rb:96:in
render'
/home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/legacy_tilt_processor.rb:25:in call' /home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/processor_utils.rb:75:in
call_processor'
/home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/processor_utils.rb:57:in block in call_processors' /home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/processor_utils.rb:56:in
reverse_each'
/home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/processor_utils.rb:56:in call_processors' /home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/loader.rb:134:in
load_from_unloaded'
/home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/loader.rb:60:in block in load' /home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/loader.rb:318:in
fetch_asset_from_dependency_cache'
/home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/loader.rb:44:in load' /home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/cached_environment.rb:20:in
block in initialize'
/home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/cached_environment.rb:47:in yield' /home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/cached_environment.rb:47:in
load'
/home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/bundle.rb:23:in block in call' /home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/utils.rb:183:in
dfs'
/home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/bundle.rb:24:in call' /home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/processor_utils.rb:75:in
call_processor'
/home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/processor_utils.rb:57:in block in call_processors' /home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/processor_utils.rb:56:in
reverse_each'
/home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/processor_utils.rb:56:in call_processors' /home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/loader.rb:134:in
load_from_unloaded'
/home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/loader.rb:60:in block in load' /home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/loader.rb:318:in
fetch_asset_from_dependency_cache'
/home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/loader.rb:44:in load' /home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/cached_environment.rb:20:in
block in initialize'
/home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/cached_environment.rb:47:in yield' /home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/cached_environment.rb:47:in
load'
/home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/base.rb:66:in find_asset' /home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/base.rb:73:in
find_all_linked_assets'
/home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/manifest.rb:130:in block in find' /home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/manifest.rb:129:in
each'
/home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/manifest.rb:129:in find' /home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/sprockets/manifest.rb:162:in
compile'
/home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-rails-2.2.4/lib/sprockets/rails/task.rb:70:in block (3 levels) in define' /home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-3.4.0/lib/rake/sprocketstask.rb:147:in
with_logger'
/home/ubuntu/.rvm/gems/ruby-2.2.0/gems/sprockets-rails-2.2.4/lib/sprockets/rails/task.rb:69:in `block (2 levels) in define'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)