{"action":"created","issue":{"url":"https://api.github.com/repos/jwhitley/requirejs-rails/issues/250","labels_url":"https://api.github.com/repos/jwhitley/requirejs-rails/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/jwhitley/requirejs-rails/issues/250/comments","events_url":"https://api.github.com/repos/jwhitley/requirejs-rails/issues/250/events","html_url":"https://github.com/jwhitley/requirejs-rails/issues/250","id":102717017,"number":250,"title":"\"rake assets:precompile\" raise error at new rails project","user":{"login":"ledowong","id":77749,"avatar_url":"https://avatars.githubusercontent.com/u/77749?v=3","gravatar_id":"","url":"https://api.github.com/users/ledowong","html_url":"https://github.com/ledowong","followers_url":"https://api.github.com/users/ledowong/followers","following_url":"https://api.github.com/users/ledowong/following{/other_user}","gists_url":"https://api.github.com/users/ledowong/gists{/gist_id}","starred_url":"https://api.github.com/users/ledowong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledowong/subscriptions","organizations_url":"https://api.github.com/users/ledowong/orgs","repos_url":"https://api.github.com/users/ledowong/repos","events_url":"https://api.github.com/users/ledowong/events{/privacy}","received_events_url":"https://api.github.com/users/ledowong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-24T06:26:51Z","updated_at":"2015-08-28T10:02:27Z","closed_at":null,"body":"Hi, I am new to require.js. I created a new rails project, add requirejs-rails, just try to make it works.\r\n\r\n* ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]\r\n* rails 4.2.3\r\n* requirejs-rails 0.9.9\r\n\r\nI follow [Usage](https://github.com/jwhitley/requirejs-rails#usage) Step 1-3, then I run: \r\n```\r\nrake assets:precompile\r\n```\r\nIt return error...\r\n\r\n```\r\n/usr/local/rvm/rubies/ruby-2.2.1/bin/ruby /usr/local/rvm/rubies/ruby-2.2.1/bin/rake requirejs:precompile:all RAILS_ENV=production RAILS_GROUPS=assets\r\nrake aborted!\r\nNoMethodError: undefined method `include?' for #<Pathname:0x00000006493940>\r\n/usr/local/rvm/gems/ruby-2.2.1/gems/sprockets-3.3.3/lib/sprockets/uri_tar.rb:13:in `initialize'\r\n/usr/local/rvm/gems/ruby-2.2.1/gems/sprockets-3.3.3/lib/sprockets/unloaded_asset.rb:24:in `new'\r\n/usr/local/rvm/gems/ruby-2.2.1/gems/sprockets-3.3.3/lib/sprockets/unloaded_asset.rb:24:in `initialize'\r\n/usr/local/rvm/gems/ruby-2.2.1/gems/sprockets-3.3.3/lib/sprockets/base.rb:55:in `new'\r\n/usr/local/rvm/gems/ruby-2.2.1/gems/sprockets-3.3.3/lib/sprockets/base.rb:55:in `file_digest'\r\n/usr/local/rvm/gems/ruby-2.2.1/gems/requirejs-rails-0.9.9/lib/tasks/requirejs-rails_tasks.rake:165:in `block (4 levels) in <top (required)>'\r\n/usr/local/rvm/gems/ruby-2.2.1/gems/requirejs-rails-0.9.9/lib/tasks/requirejs-rails_tasks.rake:148:in `each'\r\n/usr/local/rvm/gems/ruby-2.2.1/gems/requirejs-rails-0.9.9/lib/tasks/requirejs-rails_tasks.rake:148:in `block (3 levels) in <top (required)>'\r\nTasks: TOP => requirejs:precompile:all => requirejs:precompile:digestify_and_compress\r\n(See full trace by running task with --trace)\r\nrake aborted!\r\nCommand failed with status (1): [/usr/local/rvm/rubies/ruby-2.2.1/bin/ruby ...]\r\n/usr/local/rvm/gems/ruby-2.2.1/gems/requirejs-rails-0.9.9/lib/tasks/requirejs-rails_tasks.rake:18:in `ruby_rake_task'\r\n/usr/local/rvm/gems/ruby-2.2.1/gems/requirejs-rails-0.9.9/lib/tasks/requirejs-rails_tasks.rake:83:in `block (3 levels) in <top (required)>'\r\nTasks: TOP => assets:precompile => requirejs:precompile:external\r\n(See full trace by running task with --trace)\r\n```\r\n\r\nI committed my new testing project here: https://github.com/ledowong/rjstest/commits/master\r\n\r\nDid I miss something? Thanks.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jwhitley/requirejs-rails/issues/comments/135725276","html_url":"https://github.com/jwhitley/requirejs-rails/issues/250#issuecomment-135725276","issue_url":"https://api.github.com/repos/jwhitley/requirejs-rails/issues/250","id":135725276,"user":{"login":"swils","id":567284,"avatar_url":"https://avatars.githubusercontent.com/u/567284?v=3","gravatar_id":"","url":"https://api.github.com/users/swils","html_url":"https://github.com/swils","followers_url":"https://api.github.com/users/swils/followers","following_url":"https://api.github.com/users/swils/following{/other_user}","gists_url":"https://api.github.com/users/swils/gists{/gist_id}","starred_url":"https://api.github.com/users/swils/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swils/subscriptions","organizations_url":"https://api.github.com/users/swils/orgs","repos_url":"https://api.github.com/users/swils/repos","events_url":"https://api.github.com/users/swils/events{/privacy}","received_events_url":"https://api.github.com/users/swils/received_events","type":"User","site_admin":false},"created_at":"2015-08-28T10:02:27Z","updated_at":"2015-08-28T10:02:27Z","body":"I think this was fixed a couple of days ago. Try putting using the current master in Gemfile."}}