Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`initialize': No such file or directory error #67

Closed
chenweiyj opened this issue Aug 26, 2017 · 3 comments
Closed

`initialize': No such file or directory error #67

chenweiyj opened this issue Aug 26, 2017 · 3 comments

Comments

@chenweiyj
Copy link

I cannot get the theme view when I type

rails g kaminari:views bootstrap3

It shows me:

/Users/chenwei/.rvm/gems/ruby-2.4.0/gems/kaminari-core-1.0.1/lib/generators/kaminari/views_generator.rb:114:in `initialize': No such file or directory @ rb_sysopen - https://api.github.com/repos/amatsuda/kaminari_themes/git/refs/heads/master (Errno::ENOENT)
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/kaminari-core-1.0.1/lib/generators/kaminari/views_generator.rb:114:in `open'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/kaminari-core-1.0.1/lib/generators/kaminari/views_generator.rb:114:in `get_files_in_master'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/kaminari-core-1.0.1/lib/generators/kaminari/views_generator.rb:40:in `themes'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/kaminari-core-1.0.1/lib/generators/kaminari/views_generator.rb:29:in `copy_or_fetch'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/thor-0.20.0/lib/thor/invocation.rb:133:in `block in invoke_all'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/thor-0.20.0/lib/thor/invocation.rb:133:in `each'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/thor-0.20.0/lib/thor/invocation.rb:133:in `map'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/thor-0.20.0/lib/thor/invocation.rb:133:in `invoke_all'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/thor-0.20.0/lib/thor/group.rb:232:in `dispatch'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/thor-0.20.0/lib/thor/base.rb:466:in `start'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/railties-5.1.3/lib/rails/generators.rb:269:in `invoke'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/railties-5.1.3/lib/rails/commands/generate/generate_command.rb:24:in `perform'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/railties-5.1.3/lib/rails/command/base.rb:63:in `perform'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/railties-5.1.3/lib/rails/command.rb:44:in `invoke'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/railties-5.1.3/lib/rails/commands.rb:16:in `<top (required)>'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.3/lib/active_support/dependencies.rb:292:in `require'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.3/lib/active_support/dependencies.rb:292:in `block in require'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.3/lib/active_support/dependencies.rb:258:in `load_dependency'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.3/lib/active_support/dependencies.rb:292:in `require'
	from /Users/chenwei/Documents/workspace/tempruby/chorder/bin/rails:9:in `<top (required)>'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.3/lib/active_support/dependencies.rb:286:in `load'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.3/lib/active_support/dependencies.rb:286:in `block in load'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.3/lib/active_support/dependencies.rb:258:in `load_dependency'
	from /Users/chenwei/.rvm/gems/ruby-2.4.0/gems/activesupport-5.1.3/lib/active_support/dependencies.rb:286:in `load'
	from /Users/chenwei/.rvm/rubies/ruby-2.4.0/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /Users/chenwei/.rvm/rubies/ruby-2.4.0/lib/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
	from -e:1:in `<main>'
@yuki24
Copy link
Collaborator

yuki24 commented Aug 26, 2017

Thanks for reporting. We actually received the same bug report, and @jvsoares kindly sent a pull request and fixed the issue. We will cut a new release soon. Thanks for your patience!

@yuki24 yuki24 closed this as completed Aug 26, 2017
@efrapp
Copy link

efrapp commented Sep 2, 2019

Hi,
Was it resolve? I'm trying to use it but I get the same error.

@efrapp
Copy link

efrapp commented Sep 2, 2019

Sorry I was using the version 0.17.0. Now I'm using 1.1.1 and it is working ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants