RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: QuentinLangeveldt
I am trying to require the RMagick gem in a gem I'm making. I included it as a dependency in my gemspec file.
and require it before use in my lib/say_hello.rb
"Hello my friend"
After that i bundle install, gem bundle, gem install.
The gem work without the 'require rmagick' but i receive the following error otherwise.
/Users/****/.rvm/gems/ruby-1.9.3-p194/gems/say_hello-0.0.1/lib/say_hello.rb:2:in require': cannot load such file -- rmagick (LoadError)
Can anyone give me some advice on what I am doing wrong?
Thanks in advance..