Fastlane "No such file or directory" error

#1

I am attempting to install Fastlane and I am getting the following error:

Configs:

- WorkDir: .

- Lane: scan -s iOS --clean --verbose -a 'iPhone 7 Plus'

- UpdateFastlane: true

Expand WorkDir

Expanded WorkDir: /Users/vagrant/git

Determine desired Fastlane version

Checking Gemfile.lock (/Users/vagrant/git/Gemfile.lock) for fastlane gem

Gemfile.lock does not exist

Update system installed Fastlane

$ gem "install" "fastlane" "--no-document"

/usr/local/lib/ruby/site_ruby/2.5.0/rubygems/stub_specification.rb:118:in `initialize': No such file or directory @ rb_sysopen - /usr/local/lib/ruby/gems/2.5.0/specifications/did_you_mean-1.2.0.gemspec (Errno::ENOENT)

from /usr/local/lib/ruby/site_ruby/2.5.0/rubygems/stub_specification.rb:118:in `open'

from /usr/local/lib/ruby/site_ruby/2.5.0/rubygems/stub_specification.rb:118:in `data'

from /usr/local/lib/ruby/site_ruby/2.5.0/rubygems/stub_specification.rb:208:in `valid?'

from /usr/local/lib/ruby/site_ruby/2.5.0/rubygems/specification.rb:771:in `select'

from /usr/local/lib/ruby/site_ruby/2.5.0/rubygems/specification.rb:771:in `gemspec_stubs_in'

from /usr/local/lib/ruby/site_ruby/2.5.0/rubygems/specification.rb:796:in `block in map_stubs'

from /usr/local/lib/ruby/site_ruby/2.5.0/rubygems/specification.rb:793:in `each'

from /usr/local/lib/ruby/site_ruby/2.5.0/rubygems/specification.rb:793:in `flat_map'

from /usr/local/lib/ruby/site_ruby/2.5.0/rubygems/specification.rb:793:in `map_stubs'

from /usr/local/lib/ruby/site_ruby/2.5.0/rubygems/specification.rb:785:in `installed_stubs'

from /usr/local/lib/ruby/site_ruby/2.5.0/rubygems/specification.rb:872:in `stubs_for'

from /usr/local/lib/ruby/site_ruby/2.5.0/rubygems/dependency.rb:280:in `matching_specs'

from /usr/local/lib/ruby/site_ruby/2.5.0/rubygems/dependency.rb:303:in `to_specs'

from /usr/local/lib/ruby/site_ruby/2.5.0/rubygems/dependency.rb:323:in `to_spec'

from /usr/local/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_gem.rb:65:in `gem'

from <internal:gem_prelude>:4:in `<internal:gem_prelude>'

Command failed, error: exit status 1
0 Likes

#2

Hello there! Could you send us the url of this build?
also as far as I know you don’t need to install fastlane yourself :thinking:
just use our fastlane step.

0 Likes

#3

Reinstalling bundler seemed to fix it :man_shrugging: Thanks for your response though!

2 Likes

closed #4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

0 Likes