So very new to rails. I managed to install ruby and then rails framework on Fedora 17 .
Here are the summary of steps I did to install ruby and rails framework:
yum install make openssh-clients gcc libxml2 libxml2-devel libxslt libxslt-devel python-devel
sudo bash -s stable < <(curl -sk https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
source /etc/profile.d/rvm.sh
rvm install ruby-1.9.2-p290 --with-openssl
rvm use ruby-1.9.2-p290 --default
rvm all do gem update --system
rvm all do gem install rails
Well.. So far so good.. Just wanted to test if the installation was perfect. I created a hello world sample ( test.rb ) to test ruby installation
#!/usr/bin/env ruby
puts "hello World"
and running this with ./test.rb
it works fine.
Now when I was test rails framework installation by creating a new project using
rails new demo
I receive the error
Fetching gem metadata from https://rubygems.org/.Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
What am I missing here? Or what have I done additionally which I was not suppose to do? Looked into https://github.com/carlhuda/bundler/blob/master/ISSUES.md . Could not figure out. Has anyone come across similar issue and found a way to deal with it?
Double check that you have these packages installed...
git-core curl make bzip2 gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel libxslt-devel sqlite sqlite-devel openssl openssl-devel
You might want to check out this blog post to see if it helps you at all.
Are you using Xcode 4.1 by any chance? Seems like a lot of people have run into bundler issues after upgrading to Lion (but neglecting to upgrade Xcode as well...).
As in this thread .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.