Open loochao opened 9 years ago
I've never used RVM, so my guess is that there are missing environment variables. You might have to set them manually in your .emacs.el file.
On Wed Feb 11 2015 at 11:55:39 PM LooChao notifications@github.com wrote:
I tried installing one via RVM (1.9.3), got all necessary gems, yet thing is still broken. Throws this message:
$HOME/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in require': cannot load such file -- oauth (LoadError) from $HOME/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in require' from $HOME/.rvm/rubies/ruby-1.9.3-p551/bin/enclient.rb:40:in `'
I believe all the necessary parts have been installed, for when I call enclient.rb directly in a terminal, everything works fine (to test this, I added one line at the bottom of that file: print "Succuss"), but when M-x evernote-mode, it pops up the error message above.
My guessing is still the environment, since rvm has a very long script to set the env before running, which is located at ~/.rvm/script/rvm, however when calling inside emacs, the environment variable is not set in the right way, so all the gem files like oauth are not found.
— Reply to this email directly or view it on GitHub https://github.com/pymander/evernote-mode/issues/23.
I tried installing one via RVM (1.9.3), got all necessary gems, yet thing is still broken. Throws this message:
$HOME/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in'
require': cannot load such file -- oauth (LoadError) from $HOME/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:54:in
require' from $HOME/.rvm/rubies/ruby-1.9.3-p551/bin/enclient.rb:40:in `I believe all the necessary parts have been installed, for when I call enclient.rb directly in a terminal, everything works fine (to test this, I added one line at the bottom of that file: print "Succuss"), but when M-x evernote-mode, it pops up the error message above.
My guessing is still the environment, since rvm has a very long script to set the env before running, which is located at ~/.rvm/script/rvm, however when calling inside emacs, the environment variable is not set in the right way, so all the gem files like oauth are not found.