#272 new
Steven W

Error Message when Running RedCloth

Reported by Steven W | March 27th, 2014 @ 11:30 PM

Hello,

I'm a Ruby noob and I just ran into a problem when running the following code in Sublime:

require 'rubygems'
require 'RedCloth'

r = RedCloth.new("this is a test test of using RedCloth")

puts r.to_html

I get the following error message:

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in require': cannot load such file -- ./rubygems (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:inrequire' from /Users/StevenW/Documents/Code/ruby/beginning_ruby/test.rb:1:in `' [Finished in 0.0s with exit code 1]

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RedCloth is a Ruby library for converting Textile into HTML

Shared Ticket Bins

People watching this ticket

Pages