Could not find linecache19-0.5.13 in any of the sources in Windows 7 x64

I installed Ruby if I ran

ruby -v

I see:

ruby 1.9.3p125 (2012-02-16) [i386-mingw32]

If I run dir in my application

rails server

output:

←[31mCould not find multi_json-1.3.2 in any of the sources←[0m
←[33mRun `bundle install` to install missing gems.←[0m

Launch

bundle install

this error appears:

Fetching source index for http://rubygems.org/
Could not find linecache19-0.5.13 in any of the sources

what problem?

+3
source share
5 answers

Doesn't look like it's linecache19-0.5.13already released.

Current version 0.5.12according to rubygems.org .

+5
source

Based on the answer of user154184 above, I got it to work using the commands below. It basically downloads the gem binary for linecache19 from rubyforge and install the gem using this gem binary.

> curl -OL http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem
> gem install linecache19-0.5.13.gem 
+2
source

Check out this thread: https://gist.github.com/1848409 to add the correct dependencies for ruby-debug19 since 1.9.3 etc.

+1
source

Running bundle updatefixed it for me.

+1
source

Are you behind a firewall?

Can you manually install "linecache" by running "$ gem install linecache"?

If none of them work, make sure you can get to the Internet using the gem. see the gem option "-p".

0
source

All Articles