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

Failure running "Preview" #2

Open
rachely3n opened this issue Oct 17, 2018 · 1 comment
Open

Failure running "Preview" #2

rachely3n opened this issue Oct 17, 2018 · 1 comment

Comments

@rachely3n
Copy link

Hi, I'm trying to preview using the bundle for my markdown, but I get the following error:

/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- bundler/setup (LoadError)
	from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require'
	from /Users/rachelyen/Library/Application Support/TextMate/Bundles/GFM-Preview.tmbundle/Support/gfm.rb:2:in <main>'

I'm on a mac and I'm using the homebrewed installed version of Ruby. I was reading online maybe it's having more than one version of ruby on my machine that's giving issues?

@vigo
Copy link
Owner

vigo commented Oct 18, 2018

Hi... according to error message, you are using osx' default ruby. You need to install gems via sudo...

sudo gem install bundler # this is the important part!
cd GFM-Preview.tmbundle/Support/
bundle install --path vendor/bundle
# go on with the rest of README...

can you try it like that?

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