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

Error at rake docs and whitespace #182

Closed
junaruga opened this issue May 29, 2017 · 1 comment · Fixed by #183
Closed

Error at rake docs and whitespace #182

junaruga opened this issue May 29, 2017 · 1 comment · Fixed by #183

Comments

@junaruga
Copy link
Contributor

$ ruby -v
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]

$ bundle -v
Bundler version 1.14.6
$ bundle install --path vendor/bundle 

$ bundle exec rake whitespace
sed: can't read s/ *$//g: No such file or directory
sed: can't read s/ *$//g: No such file or directory
...

=> I am using Linux. So that is reason? sed command's specification is different?

Then, install hanna that is used in rake docs.

$ echo "gem 'hanna'" >> Gemfile

$ bundle update

$ bundle exec rake docs
bundler: failed to load command: rake (/home/jaruga/git/rack-test/vendor/bundle/ruby/2.4.0/bin/rake)
NameError: uninitialized constant Rake::AltSystem::Config
  /home/jaruga/git/rack-test/vendor/bundle/ruby/2.4.0/gems/rake-0.8.7/lib/rake/alt_system.rb:32:in `<module:AltSystem>'
  /home/jaruga/git/rack-test/vendor/bundle/ruby/2.4.0/gems/rake-0.8.7/lib/rake/alt_system.rb:31:in `<top (required)>'
  /home/jaruga/git/rack-test/vendor/bundle/ruby/2.4.0/gems/rake-0.8.7/lib/rake/win32.rb:3:in `require'
  /home/jaruga/git/rack-test/vendor/bundle/ruby/2.4.0/gems/rake-0.8.7/lib/rake/win32.rb:3:in `<module:Rake>'
  /home/jaruga/git/rack-test/vendor/bundle/ruby/2.4.0/gems/rake-0.8.7/lib/rake/win32.rb:2:in `<top (required)>'
  /home/jaruga/git/rack-test/vendor/bundle/ruby/2.4.0/gems/rake-0.8.7/lib/rake.rb:41:in `require'
  /home/jaruga/git/rack-test/vendor/bundle/ruby/2.4.0/gems/rake-0.8.7/lib/rake.rb:41:in `<top (required)>'
  /home/jaruga/git/rack-test/vendor/bundle/ruby/2.4.0/gems/rake-0.8.7/bin/rake:26:in `require'
  /home/jaruga/git/rack-test/vendor/bundle/ruby/2.4.0/gems/rake-0.8.7/bin/rake:26:in `<top (required)>'
  /home/jaruga/git/rack-test/vendor/bundle/ruby/2.4.0/bin/rake:22:in `load'
  /home/jaruga/git/rack-test/vendor/bundle/ruby/2.4.0/bin/rake:22:in `<top (required)>'
@junaruga
Copy link
Contributor Author

I want to try to fix this after #181 will be merged.

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

Successfully merging a pull request may close this issue.

1 participant