Last active
May 30, 2016 16:18
-
-
Save lokeshh/ef481aef3b7419dde606beb5ca4f0d5f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| lokeshh:~/workspace/daru (cat_index) $ gem install guard-rspec | |
| gem install guard | |
| Successfully installed guard-rspec-4.7.0 | |
| 1 gem installed | |
| lokeshh:~/workspace/daru (cat_index) $ gem install guard | |
| Successfully installed guard-2.14.0 | |
| 1 gem installed | |
| lokeshh:~/workspace/daru (cat_index) $ guard init | |
| Warning: you have a Gemfile, but you're not using bundler or RUBYGEMS_GEMDEPS | |
| RubyDep: WARNING: Your Ruby has security vulnerabilities! (To disable warnings, set RUBY_DEP_GEM_SILENCE_WARNINGS=1) | |
| RubyDep: WARNING: Your Ruby is: 2.2.3 (insecure). Recommendation: install 2.2.5 or 2.3.1. (Or, at least to 2.2.4 or 2.3.0) | |
| 16:14:48 - INFO - Writing new Guardfile to /home/ubuntu/workspace/daru/Guardfile | |
| 16:14:48 - INFO - rspec guard added to Guardfile, feel free to edit it | |
| lokeshh:~/workspace/daru (cat_index) $ guard | |
| Warning: you have a Gemfile, but you're not using bundler or RUBYGEMS_GEMDEPS | |
| RubyDep: WARNING: Your Ruby has security vulnerabilities! (To disable warnings, set RUBY_DEP_GEM_SILENCE_WARNINGS=1) | |
| RubyDep: WARNING: Your Ruby is: 2.2.3 (insecure). Recommendation: install 2.2.5 or 2.3.1. (Or, at least to 2.2.4 or 2.3.0) | |
| 16:15:56 - INFO - Guard here! It looks like your project has a Gemfile, yet you are running | |
| > [#] `guard` outside of Bundler. If this is your intent, feel free to ignore this | |
| > [#] message. Otherwise, consider using `bundle exec guard` to ensure your | |
| > [#] dependencies are loaded correctly. | |
| > [#] (You can run `guard` with --no-bundler-warning to get rid of this message.) | |
| 16:15:57 - INFO - Guard::RSpec is running | |
| 16:15:57 - INFO - Guard is now watching at '/home/ubuntu/workspace/daru' | |
| [1] guard(main)> | |
| 16:16:01 - INFO - Run all | |
| 16:16:01 - INFO - Running all specs | |
| Coverage report generated for RSpec to /home/ubuntu/workspace/daru/coverage. 897 / 2784 LOC (32.22%) covered. | |
| /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in `require': cannot load such file -- guard/ui (LoadError) | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in `require_with_backports' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/guard-rspec-4.7.0/lib/guard/rspec_formatter.rb:12:in `<top (required)>' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in `require' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/backports-3.6.8/lib/backports/std_lib.rb:9:in `require_with_backports' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `block in require' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:274:in `require' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/rspec-core-3.4.4/lib/rspec/core/configuration.rb:1295:in `block in requires=' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/rspec-core-3.4.4/lib/rspec/core/configuration.rb:1295:in `each' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/rspec-core-3.4.4/lib/rspec/core/configuration.rb:1295:in `requires=' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/rspec-core-3.4.4/lib/rspec/core/configuration_options.rb:109:in `block in process_options_into' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/rspec-core-3.4.4/lib/rspec/core/configuration_options.rb:108:in `each' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/rspec-core-3.4.4/lib/rspec/core/configuration_options.rb:108:in `process_options_into' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/rspec-core-3.4.4/lib/rspec/core/configuration_options.rb:21:in `configure' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:105:in `setup' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:92:in `run' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:78:in `run' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:45:in `invoke' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/rspec-core-3.4.4/exe/rspec:4:in `<top (required)>' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/bin/rspec:23:in `load' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/bin/rspec:23:in `<main>' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `eval' | |
| from /home/ubuntu/.rvm/gems/ruby-2.2.3/bin/ruby_executable_hooks:15:in `<main>' | |
| 16:16:09 - ERROR - Failed: "rspec -f progress -r /home/ubuntu/.rvm/gems/ruby-2.2.3/gems/guard-rspec-4.7.0/lib/guard/rspec_formatter.rb -f Guard::RSpecFormatter --failure-exit-code 2 spec" (exit code: 1) | |
| [1] guard(main)> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # coding: utf-8 | |
| $:.unshift File.expand_path("../lib", __FILE__) | |
| require 'daru/version.rb' | |
| Daru::DESCRIPTION = <<MSG | |
| Daru (Data Analysis in RUby) is a library for analysis, manipulation and visualization | |
| of data. Daru works seamlessly accross interpreters and leverages interpreter-specific | |
| optimizations whenever they are available. | |
| It is the default data storage gem for all the statsample gems (glm, timeseries, etc.) | |
| and can be used with many others like mixed_models, gnuplotrb, nyaplot and iruby. | |
| MSG | |
| Gem::Specification.new do |spec| | |
| spec.name = 'daru' | |
| spec.version = Daru::VERSION | |
| spec.authors = ['Sameer Deshmukh'] | |
| spec.email = ['[email protected]'] | |
| spec.summary = %q{Data Analysis in RUby} | |
| spec.description = Daru::DESCRIPTION | |
| spec.homepage = "http://github.com/v0dro/daru" | |
| spec.license = 'BSD-2' | |
| spec.files = `git ls-files -z`.split("\x0") | |
| spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } | |
| spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) | |
| spec.require_paths = ["lib"] | |
| spec.post_install_message = <<-EOF | |
| ************************************************************************* | |
| Thank you for installing daru! | |
| oOOOOOo | |
| ,| oO | |
| //| | | |
| \\\\| | | |
| `| | | |
| `-----` | |
| Hope you love daru! For enhanced interactivity and better visualizations, | |
| consider using gnuplotrb and nyaplot with iruby. For statistics use the | |
| statsample family. | |
| Read the README for interesting use cases and examples. | |
| Cheers! | |
| ************************************************************************* | |
| EOF | |
| spec.add_runtime_dependency 'reportbuilder', '~> 1.4' | |
| spec.add_runtime_dependency 'spreadsheet', '~> 1.1.1' | |
| spec.add_runtime_dependency 'backports' | |
| spec.add_development_dependency 'bundler', '~> 1.10' | |
| spec.add_development_dependency 'rake', '~>10.5' | |
| spec.add_development_dependency 'pry', '~> 0.10' | |
| spec.add_development_dependency 'pry-byebug' | |
| spec.add_development_dependency 'rserve-client', '~> 0.3' | |
| spec.add_development_dependency 'rspec', '~> 3.4' | |
| spec.add_development_dependency 'rspec-its' | |
| spec.add_development_dependency 'awesome_print' | |
| spec.add_development_dependency 'nyaplot', '~> 0.1.5' | |
| spec.add_development_dependency 'nmatrix', '~> 0.2.1' | |
| spec.add_development_dependency 'distribution', '~> 0.7' | |
| spec.add_development_dependency 'rb-gsl', '~>1.16' | |
| spec.add_development_dependency 'dbd-sqlite3' | |
| spec.add_development_dependency 'dbi' | |
| spec.add_development_dependency 'activerecord', '~> 4.0' | |
| spec.add_development_dependency 'sqlite3' | |
| spec.add_development_dependency 'rubocop', '>= 0.40.0' | |
| spec.add_development_dependency 'ruby-prof' | |
| spec.add_development_dependency 'simplecov' | |
| spec.add_development_dependency 'nokogiri' | |
| end | |
| d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source 'https://rubygems.org' | |
| gemspec |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PATH | |
| remote: . | |
| specs: | |
| daru (0.1.3.1) | |
| backports | |
| reportbuilder (~> 1.4) | |
| spreadsheet (~> 1.1.1) | |
| GEM | |
| remote: https://rubygems.org/ | |
| specs: | |
| activemodel (4.2.6) | |
| activesupport (= 4.2.6) | |
| builder (~> 3.1) | |
| activerecord (4.2.6) | |
| activemodel (= 4.2.6) | |
| activesupport (= 4.2.6) | |
| arel (~> 6.0) | |
| activesupport (4.2.6) | |
| i18n (~> 0.7) | |
| json (~> 1.7, >= 1.7.7) | |
| minitest (~> 5.1) | |
| thread_safe (~> 0.3, >= 0.3.4) | |
| tzinfo (~> 1.1) | |
| arel (6.0.3) | |
| ast (2.2.0) | |
| awesome_print (1.6.1) | |
| backports (3.6.8) | |
| builder (3.2.2) | |
| byebug (8.2.5) | |
| clbustos-rtf (0.4.2) | |
| coderay (1.1.1) | |
| dbd-sqlite3 (1.2.5) | |
| dbi (>= 0.4.0) | |
| sqlite3-ruby | |
| dbi (0.4.5) | |
| deprecated (= 2.0.1) | |
| deprecated (2.0.1) | |
| diff-lcs (1.2.5) | |
| distribution (0.7.3) | |
| docile (1.1.5) | |
| gsl (2.1.0.1) | |
| i18n (0.7.0) | |
| json (1.8.3) | |
| method_source (0.8.2) | |
| mini_portile2 (2.0.0) | |
| minitest (5.8.4) | |
| nmatrix (0.2.1) | |
| packable (~> 1.3, >= 1.3.5) | |
| nokogiri (1.6.7.2) | |
| mini_portile2 (~> 2.0.0.rc2) | |
| nyaplot (0.1.6) | |
| packable (1.3.8) | |
| backports | |
| parser (2.3.1.0) | |
| ast (~> 2.2) | |
| powerpack (0.1.1) | |
| prawn (0.8.4) | |
| prawn-core (>= 0.8.4, < 0.9) | |
| prawn-layout (>= 0.8.4, < 0.9) | |
| prawn-security (>= 0.8.4, < 0.9) | |
| prawn-core (0.8.4) | |
| prawn-layout (0.8.4) | |
| prawn-security (0.8.4) | |
| prawn-svg (0.9.1.11) | |
| prawn (>= 0.8.4) | |
| pry (0.10.3) | |
| coderay (~> 1.1.0) | |
| method_source (~> 0.8.1) | |
| slop (~> 3.4) | |
| pry-byebug (3.3.0) | |
| byebug (~> 8.0) | |
| pry (~> 0.10) | |
| rainbow (2.1.0) | |
| rake (10.5.0) | |
| rb-gsl (1.16.0.6) | |
| gsl | |
| reportbuilder (1.4.2) | |
| clbustos-rtf (~> 0.4.0) | |
| prawn (~> 0.8.4) | |
| prawn-svg (~> 0.9.1) | |
| text-table (~> 1.2) | |
| rserve-client (0.3.1) | |
| rspec (3.4.0) | |
| rspec-core (~> 3.4.0) | |
| rspec-expectations (~> 3.4.0) | |
| rspec-mocks (~> 3.4.0) | |
| rspec-core (3.4.4) | |
| rspec-support (~> 3.4.0) | |
| rspec-expectations (3.4.0) | |
| diff-lcs (>= 1.2.0, < 2.0) | |
| rspec-support (~> 3.4.0) | |
| rspec-its (1.2.0) | |
| rspec-core (>= 3.0.0) | |
| rspec-expectations (>= 3.0.0) | |
| rspec-mocks (3.4.1) | |
| diff-lcs (>= 1.2.0, < 2.0) | |
| rspec-support (~> 3.4.0) | |
| rspec-support (3.4.1) | |
| rubocop (0.40.0) | |
| parser (>= 2.3.1.0, < 3.0) | |
| powerpack (~> 0.1) | |
| rainbow (>= 1.99.1, < 3.0) | |
| ruby-progressbar (~> 1.7) | |
| unicode-display_width (~> 1.0, >= 1.0.1) | |
| ruby-ole (1.2.12) | |
| ruby-prof (0.15.9) | |
| ruby-progressbar (1.8.0) | |
| simplecov (0.11.2) | |
| docile (~> 1.1.0) | |
| json (~> 1.8) | |
| simplecov-html (~> 0.10.0) | |
| simplecov-html (0.10.0) | |
| slop (3.6.0) | |
| spreadsheet (1.1.2) | |
| ruby-ole (>= 1.0) | |
| sqlite3 (1.3.11) | |
| sqlite3-ruby (1.3.3) | |
| sqlite3 (>= 1.3.3) | |
| text-table (1.2.4) | |
| thread_safe (0.3.5) | |
| tzinfo (1.2.2) | |
| thread_safe (~> 0.1) | |
| unicode-display_width (1.0.5) | |
| PLATFORMS | |
| ruby | |
| DEPENDENCIES | |
| activerecord (~> 4.0) | |
| awesome_print | |
| bundler (~> 1.10) | |
| daru! | |
| dbd-sqlite3 | |
| dbi | |
| distribution (~> 0.7) | |
| nmatrix (~> 0.2.1) | |
| nokogiri | |
| nyaplot (~> 0.1.5) | |
| pry (~> 0.10) | |
| pry-byebug | |
| rake (~> 10.5) | |
| rb-gsl (~> 1.16) | |
| rserve-client (~> 0.3) | |
| rspec (~> 3.4) | |
| rspec-its | |
| rubocop (>= 0.40.0) | |
| ruby-prof | |
| simplecov | |
| sqlite3 | |
| BUNDLED WITH | |
| 1.12.5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # A sample Guardfile | |
| # More info at https://github.com/guard/guard#readme | |
| ## Uncomment and set this to only include directories you want to watch | |
| # directories %w(app lib config test spec features) \ | |
| # .select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")} | |
| ## Note: if you are using the `directories` clause above and you are not | |
| ## watching the project directory ('.'), then you will want to move | |
| ## the Guardfile to a watched dir and symlink it back, e.g. | |
| # | |
| # $ mkdir config | |
| # $ mv Guardfile config/ | |
| # $ ln -s config/Guardfile . | |
| # | |
| # and, you'll have to watch "config/Guardfile" instead of "Guardfile" | |
| # Note: The cmd option is now required due to the increasing number of ways | |
| # rspec may be run, below are examples of the most common uses. | |
| # * bundler: 'bundle exec rspec' | |
| # * bundler binstubs: 'bin/rspec' | |
| # * spring: 'bin/rspec' (This will use spring if running and you have | |
| # installed the spring binstubs per the docs) | |
| # * zeus: 'zeus rspec' (requires the server to be started separately) | |
| # * 'just' rspec: 'rspec' | |
| guard :rspec, cmd: 'rspec' do | |
| watch(%r{^spec/.+_spec\.rb$}) | |
| watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } | |
| watch('spec/spec_helper.rb') { "spec" } | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment