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

"undefined method log" crash with latest fastlane #26

Closed
JaviSoto opened this issue May 23, 2016 · 3 comments
Closed

"undefined method log" crash with latest fastlane #26

JaviSoto opened this issue May 23, 2016 · 3 comments

Comments

@JaviSoto
Copy link

It seems like Helper.log no longer exists.

/usr/local/lib/ruby/gems/2.2.0/gems/badge-0.4.1/lib/badge/runner.rb:23:in `run': [!] undefined method `log' for FastlaneCore::Helper:Module (NoMethodError)
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/actions/badge.rb:19:in `run'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/runner.rb:177:in `block (2 levels) in execute_action'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/runner.rb:162:in `block in execute_action'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/runner.rb:161:in `chdir'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/runner.rb:161:in `execute_action'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/runner.rb:109:in `trigger_action_by_name'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/fast_file.rb:140:in `method_missing'
    from Fastfile:50:in `block (2 levels) in parsing_binding'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/lane.rb:33:in `call'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/lane.rb:33:in `call'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/runner.rb:138:in `try_switch_to_lane'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/runner.rb:101:in `rescue in trigger_action_by_name'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/runner.rb:96:in `trigger_action_by_name'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/fast_file.rb:140:in `method_missing'
    from Fastfile:84:in `block (2 levels) in parsing_binding'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/lane.rb:33:in `call'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/lane.rb:33:in `call'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/runner.rb:50:in `block in execute'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/runner.rb:46:in `chdir'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/runner.rb:46:in `execute'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/command_line_handler.rb:30:in `handle'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/commands_generator.rb:42:in `block (2 levels) in run'
    from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
    from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
    from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
    from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane_core-0.44.0/lib/fastlane_core/ui/fastlane_runner.rb:26:in `run!'
    from /usr/local/lib/ruby/gems/2.2.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/commands_generator.rb:175:in `run'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/commands_generator.rb:13:in `start'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/lib/fastlane/cli_tools_distributor.rb:47:in `take_off'
    from /usr/local/lib/ruby/gems/2.2.0/gems/fastlane-1.89.0/bin/fastlane:5:in `<top (required)>'
    from /usr/local/bin/fastlane:23:in `load'
    from /usr/local/bin/fastlane:23:in `<main>'
@KrauseFx
Copy link
Contributor

Fixed with #27

@KrauseFx
Copy link
Contributor

We actually think of rolling back the removing of the Helper.log

@KrauseFx
Copy link
Contributor

We just pushed a new fastlane_core release that fixes this issue, please run bundle update or gem update fastlane_core to get the latest version 🚀

This gem doesn't need to be updated to get it work again 👍

@HazAT HazAT closed this as completed in #27 Jun 1, 2016
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

2 participants