Giter Site home page Giter Site logo

hung-phan / generator-rails-angular-require Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 1.0 638 KB

Fast way to integrate angular.js and require.js with Ruby on Rails project

Home Page: https://github.com/hung-phan/rails-angular-require-template

JavaScript 47.41% Ruby 14.40% CSS 9.96% HTML 14.61% CoffeeScript 13.62%

generator-rails-angular-require's People

Contributors

hung-phan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

rocknrollmarc

generator-rails-angular-require's Issues

NoMethodError: undefined method `mtime' for nil:NilClass

Hi,

Im trying to run rake assets:precompile but stucked in this error. can you help me debug it?

rake assets:precompile RAILS_ENV=development --trace
** Invoke assets:precompile (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Invoke requirejs:precompile:external (first_time)
** Invoke requirejs:test_node (first_time)
** Execute requirejs:test_node
** Execute requirejs:precompile:external
/usr/local/bin/ruby /usr/local/bin/rake requirejs:precompile:all RAILS_ENV=development RAILS_GROUPS=assets --trace
** Invoke requirejs:precompile:all (first_time)
** Invoke requirejs:precompile:prepare_source (first_time)
** Invoke requirejs:setup (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
** Execute requirejs:setup
** Invoke requirejs:clean (first_time)
** Invoke requirejs:setup
** Execute requirejs:clean
** Execute requirejs:precompile:prepare_source
rake aborted!
NoMethodError: undefined method mtime' for nil:NilClass /usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/asset.rb:43:ininitialize'
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/bundled_asset.rb:14:in initialize' /usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:377:innew'
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:377:in build_asset' /usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/index.rb:94:inblock in build_asset'
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/caching.rb:51:in cache_asset' /usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/index.rb:93:inbuild_asset'
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:287:in find_asset' /usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/index.rb:61:infind_asset'
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/environment.rb:75:in find_asset' /usr/local/lib/ruby/gems/2.1.0/gems/requirejs-rails-0.9.5/lib/tasks/requirejs-rails_tasks.rake:112:inblock (4 levels) in <top (required)>'
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:341:in block in each_logical_path' /usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:324:inblock (2 levels) in each_file'
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:314:in each' /usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:314:ineach_entry'
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:322:in block in each_file' /usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:321:ineach'
/usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:321:in each_file' /usr/local/lib/ruby/gems/2.1.0/gems/sprockets-2.11.0/lib/sprockets/base.rb:335:ineach_logical_path'
/usr/local/lib/ruby/gems/2.1.0/gems/requirejs-rails-0.9.5/lib/tasks/requirejs-rails_tasks.rake:105:in block (3 levels) in <top (required)>' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:incall'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in block in execute' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:ineach'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in execute' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:179:inblock in invoke_with_call_chain'
/usr/local/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172:ininvoke_with_call_chain'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:201:in block in invoke_prerequisites' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:199:ineach'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:199:in invoke_prerequisites' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:178:inblock in invoke_with_call_chain'
/usr/local/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172:ininvoke_with_call_chain'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:165:in invoke' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:150:ininvoke_task'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in block (2 levels) in top_level' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:ineach'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in block in top_level' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:115:inrun_with_threads'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:100:in top_level' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:78:inblock in run'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176:in standard_exception_handling' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:75:inrun'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/bin/rake:33:in <top (required)>' /usr/local/bin/rake:23:inload'
/usr/local/bin/rake:23:in <main>' Tasks: TOP => requirejs:precompile:all => requirejs:precompile:prepare_source rake aborted! Command failed with status (1): [/usr/local/bin/ruby /usr/local/bin/rake re...] /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/file_utils.rb:54:inblock in create_shell_runner'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/file_utils.rb:45:in call' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/file_utils.rb:45:insh'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/file_utils_ext.rb:37:in sh' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/file_utils.rb:82:inruby'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/file_utils_ext.rb:37:in ruby' /usr/local/lib/ruby/gems/2.1.0/gems/requirejs-rails-0.9.5/lib/tasks/requirejs-rails_tasks.rake:19:inruby_rake_task'
/usr/local/lib/ruby/gems/2.1.0/gems/requirejs-rails-0.9.5/lib/tasks/requirejs-rails_tasks.rake:86:in block (3 levels) in <top (required)>' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:incall'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:240:in block in execute' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:ineach'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:235:in execute' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:179:inblock in invoke_with_call_chain'
/usr/local/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172:ininvoke_with_call_chain'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:201:in block in invoke_prerequisites' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:199:ineach'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:199:in invoke_prerequisites' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:178:inblock in invoke_with_call_chain'
/usr/local/lib/ruby/2.1.0/monitor.rb:211:in mon_synchronize' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:172:ininvoke_with_call_chain'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/task.rb:165:in invoke' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:150:ininvoke_task'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in block (2 levels) in top_level' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:ineach'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:106:in block in top_level' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:115:inrun_with_threads'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:100:in top_level' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:78:inblock in run'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:176:in standard_exception_handling' /usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/lib/rake/application.rb:75:inrun'
/usr/local/lib/ruby/gems/2.1.0/gems/rake-10.3.2/bin/rake:33:in <top (required)>' /usr/local/bin/rake:23:inload'
/usr/local/bin/rake:23:in `

'
Tasks: TOP => assets:precompile => requirejs:precompile:external

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.