I installed Ruby, if I run
ruby -v
I see:
ruby 1.9.3p125 (2012-02-16) [i386-mingw32]
If I run in my app dir
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
Running
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's the problem?
It doesn't look like linecache19-0.5.13
has been released yet.
The current version is 0.5.12
according to rubygems.org.
Based on user154184's response above, I got it to work using these commands below. It basically downloads the binary gem file for
linecache19 from rubyforge and install the gem using that binary gem file.
> curl -OL http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem
> gem install linecache19-0.5.13.gem
See this gist: https://gist.github.com/1848409 to add the correct dependencies for ruby-debug19 with 1.9.3 etc
Running bundle update
fixed this for me.
are you behind a firewall?
can you manually install "linecache" by running "$ gem install linecache"?
if neither works, please make sure you can reach the internet using "gem". see gem's "-p" option.