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
Warning: The plugin 'pry-theme' was not found! (gem found but could not be loaded) #11
Comments
Hi. Do you use RVM or any other Ruby version manager? |
I use RVM. |
I don't use Rails, but maybe I can reproduce your problem. Just tell me what do you mean by "in Rails Projects"? How's that differ from regular gem installation? |
@danielbayerlein Post the output of |
Did you add pry-theme to your Gemfile? |
@banister Nope. I need "pry-theme" in each project Gemfile? |
Same problem pry/pry#317? |
@danielbayerlein bundler only allows you to use gems you've specified in the Gemfile, so you'd need it in every project's Gemfile if you want to use it. Maybe pry-debundler could be used to get around this. @ConradIrwin may explain if there's anything you need to consider when using it. |
Closing this issue, since the OP lost his interest in the topic (reopen, if not). |
Sorry, I was waiting for response from @ConradIrwin. I think rubygems/bundler#183 or pry-debundle would solve the problem. I will test it. |
No worries :) Just let us know about your results. |
Hrm. That's weird. What gems do you have installed? Have you done anything odd on the pry-theme installation front? |
Oh. Cool guy rking sees original post but no replies. Ignore me, I'm a nerd. |
Hm, now I'm confused. I have the following added to my .pryrc: begin
require 'pry-theme'
Pry.config.theme = "solarized"
rescue LoadError => e
warn "[WARN] #{e}"
puts "$ gem install pry-theme"
end Now I start "pry".
You will see a warning, but it works!? The same with pry-debundle. |
Try not to require |
Well, that won't help, I believe :) |
Without
|
@danielbayerlein You get these errors when the gems are in your In the case of |
@banister |
@danielbayerlein Please explain more about your setup. You are trying to use First please confirm that if you DO have it added to your Now, if you want to use |
@banister I will test it at the latest on Friday. |
Exactly.
Correct.
I tested
Works |
First of all, sorry for the delay. I've kept you waiting for a long time. Next, I have good news. The bug (and this is a bug) has been fixed. The bug was in Thank you for your time and participation in discussion. I'm waiting for your confirmation that |
@kyrylo Great! Your patch (ConradIrwin/pry-debundle#4) is merged, i will test it tomorrow. |
@kyrylo It works! |
Hi, i have a problems with your plugin in Rails Projects. Any idea?
My .pryrc.
The text was updated successfully, but these errors were encountered: