You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it looks like togglv8 depends on awesome_print gem, however awesome_print is a development dependency. Requiring togglv8 without awesome_print installed causes an error.
Here is irb output trying to use togglv8 w/o awesome_print installed.
workspace|⇒ gem install togglv8
Successfully installed togglv8-1.2.1
1 gem installed
workspace|⇒ irb
irb(main):001:0> require 'togglv8'
LoadError: cannot load such file -- awesome_print
from /Users/kamil/.rbenv/versions/2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/kamil/.rbenv/versions/2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Users/kamil/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/togglv8-1.2.1/lib/logging.rb:3:in `<top (required)>'
from /Users/kamil/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/togglv8-1.2.1/lib/togglv8/connection.rb:4:in `require_relative'
from /Users/kamil/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/togglv8-1.2.1/lib/togglv8/connection.rb:4:in `<top (required)>'
from /Users/kamil/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/togglv8-1.2.1/lib/togglv8.rb:3:in `require_relative'
from /Users/kamil/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/togglv8-1.2.1/lib/togglv8.rb:3:in `<top (required)>'
from /Users/kamil/.rbenv/versions/2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `require'
from /Users/kamil/.rbenv/versions/2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `rescue in require'
from /Users/kamil/.rbenv/versions/2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:in `require'
from (irb):1
from /Users/kamil/.rbenv/versions/2.3.0/bin/irb:11:in `<main>'
I removed dependency on awesome_print and pry-byebug but I still couldn't get togglv8 to build in Ruby 1.9.3 because of an inherited dependency on tins (via json, I think). I'll take another look once PR #18 is merged and the master branch is stable.
In the meantime, if you want to determine if this library works in 1.9.3 you can checkout the source and comment out any line with pry-byebug, awesome_print, or logger.ap. Then run rspec to test and rake install to install.
any news about this?
I installed today this gem and ...lib/active_support/dependencies.rb:251:in 'require': cannot load such file -- awesome_print (LoadError)
Hi,
it looks like
togglv8
depends onawesome_print
gem, howeverawesome_print
is a development dependency. Requiringtogglv8
withoutawesome_print
installed causes an error.Here is
irb
output trying to usetogglv8
w/oawesome_print
installed.Related files:
https://github.com/kanet77/togglv8/blob/master/lib/logging.rb#L3
https://github.com/kanet77/togglv8/blob/master/togglv8.gemspec#L26
The text was updated successfully, but these errors were encountered: