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

Cannot load such file -- fastlane_core (LoadError) #9

Closed
maxfriedrich opened this issue Jan 10, 2017 · 5 comments
Closed

Cannot load such file -- fastlane_core (LoadError) #9

maxfriedrich opened this issue Jan 10, 2017 · 5 comments

Comments

@maxfriedrich
Copy link
Contributor

I'm using trainer 0.5.0 standalone (not as a fastlane plugin). I'm using RVM ruby and installing the gem with bundle.

I get this output:

$ bundle exec trainer
/Users/max.friedrich/.rvm/gems/ruby-2.3.1/gems/trainer-0.5.0/lib/trainer.rb:1:in `require': cannot load such file -- fastlane_core (LoadError)
	from /Users/max.friedrich/.rvm/gems/ruby-2.3.1/gems/trainer-0.5.0/lib/trainer.rb:1:in `<top (required)>'
	from /Users/max.friedrich/.rvm/gems/ruby-2.3.1/gems/trainer-0.5.0/bin/trainer:4:in `require'
	from /Users/max.friedrich/.rvm/gems/ruby-2.3.1/gems/trainer-0.5.0/bin/trainer:4:in `<top (required)>'
	from /Users/max.friedrich/.rvm/gems/ruby-2.3.1/bin/trainer:22:in `load'
	from /Users/max.friedrich/.rvm/gems/ruby-2.3.1/bin/trainer:22:in `<main>'
	from /Users/max.friedrich/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
	from /Users/max.friedrich/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'

fastlane_core is indeed required in lib/trainer.rb but was recently removed as a dependency in trainer.gemspec.

@KrauseFx
Copy link
Member

fastlane core is now part of fastlane. Can you share your Gemfile? Does it include the fastlane gem as dependency?

@SoneeJohn
Copy link

SoneeJohn commented Jan 10, 2017

@maxfriedrich I had this same issue. I solved it by installing fastlane with: sudo gem install fastlane -NV

@maxfriedrich
Copy link
Contributor Author

Ah, thanks! I don't have fastlane in my Gemfile. But if it's indeed a requirement, it should be added to trainer.gemspec, right?

@KrauseFx
Copy link
Member

@maxfriedrich actually that can't be done, as it would have a circular dependency then as soon as you add the pilot plugin. Instead you have to use a Gemfile anyway once you use fastlane with plugins 👍

@maxfriedrich
Copy link
Contributor Author

OK! Thanks! 👍

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