Skip to content

Instantly share code, notes, and snippets.

@lrjbrual
Created May 19, 2016 19:29
Show Gist options
  • Save lrjbrual/f23dbd4196b1acb6da6136f33c69c828 to your computer and use it in GitHub Desktop.
Save lrjbrual/f23dbd4196b1acb6da6136f33c69c828 to your computer and use it in GitHub Desktop.
When uploading to git using middleman deploy error can't find gem middleman -cli (>= 0.a)
Need Help, When I tried to deploying the middleman application that I created I got some error here's the details:
➜ rj-profile git:(master) ✗ bundle exec middleman build
/Users/ryanjeff/.rbenv/versions/2.3.0/lib/ruby/site_ruby/2.3.0/rubygems.rb:250:in `find_spec_for_exe': can't find gem middleman
-cli (>= 0.a) (Gem::GemNotFoundException)
from /Users/ryanjeff/.rbenv/versions/2.3.0/lib/ruby/site_ruby/2.3.0/rubygems.rb:278:in `activate_bin_path'
from /Users/ryanjeff/.rbenv/versions/2.3.0/bin/middleman:22:in `<main>'
➜ rj-profile git:(master) ✗ middleman deploy
run middleman build from "."
/Users/ryanjeff/.rbenv/versions/2.3.0/lib/ruby/site_ruby/2.3.0/rubygems.rb:250:in `find_spec_for_exe': can't find gem middleman
-cli (>= 0.a) (Gem::GemNotFoundException)
from /Users/ryanjeff/.rbenv/versions/2.3.0/lib/ruby/site_ruby/2.3.0/rubygems.rb:278:in `activate_bin_path'
from /Users/ryanjeff/.rbenv/versions/2.3.0/bin/middleman:22:in `<main>'
➜ rj-profile git:(master) ✗
============
I already have the gem 'middleman', '~> 3.4', and all the gem needed are install, and updated bundle install.
@danielfriis
Copy link

Did you find a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment