rubygems - Ruby problem(bug)- in rake gem -


i running ruby 1.9.2p0 on rails on windows os rubymine 3.1.1.

i use גseveral weeks.

a few days ago- tried run project rubymine , console notification was: "could not find rake-0.8.7 in of sources

process finished exit code 7"

i googled , found reference problem in several places. solution repeated delete non-versioned "rake.gemspec" file. tried solution problem not resolved, still says same notification.

i trying solve problem several days!!! please me if know how!!!

thanks lot in advanced!

asaf, i've had literally hours of frustration dealing similar problems. solution can challenge track down, because there numerous reasons having problem. i'm no expert myself, i'll try pass on of i've learned.

first, mentioned getting error rake, didn't mention had tried run rake. getting error upon loading rubymine or after running rake command?

next, if running rake command , getting error, should take note run command pretty important. example, if keep terminal window open do, , run rake command terminal, won't same results running rake rubymine itself. reason not self-evident when first started rubymine, think comes down this:

the ruby sdk , gems preferences in rubymine should determining types of dependency errors within rubymine. might start looking there see if there dependency errors. next, guess you're running rvm? please aware possible using 1 rvm set in rubymine (check ruby interpreter in sdk , gems preferences see 1 you're using) , entirely different rvm in terminal (the command "rvm info" should version you're using). if don't match, different results both rubymine , terminal, when running same commands.

my solution problem ensure both of environments matched. think can set rvm defaults typing "rvm default" plus version want default to. way both terminal , rubymine environments match.

lastly, aware rubymine allows more 1 version of gem installed @ same time. so, if you're getting error gem failing because dependency requires specific version, can tell rubymine install multiple versions. thru sdk manager, select gem, click "select versions".

hopefully of information applies issue. sort of did shotgun approach, because i'm not sure causing error, maybe of can put on right path. 1 final note this: use gemfile control gem versions, if need be. i've spent hours of frustration on broken dependencies, discover reason break me telling rubymine update gems latest version. latest version of particular gem isn't backwards compatible previous versions, , blindly updating gems can cause huge problems.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -