Skip to content

Instantly share code, notes, and snippets.

@shu0115
Created March 3, 2012 15:24
Show Gist options
  • Save shu0115/1966599 to your computer and use it in GitHub Desktop.
Save shu0115/1966599 to your computer and use it in GitHub Desktop.
rails newエラー対処
参考:
「Ruby 1.9.3 + Rails 3.2.1 で segmentation fault -> 解決」
- [ http://somethingnew2.com/blog/archives/2012/02/ruby_193_rails_321_segmentation_fault.php ]
-----
rvm remove 1.9.3-p125
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:$HOME/.rvm/bin
rvm pkg install iconv
rvm pkg install openssl
rvm install ruby-1.9.3 --with-openssl-dir=~$rvm_path/usr --with-iconv-dir=$rvm_path/usr
rvm use 1.9.3 --default
gem install rails -v='3.2.2' --no-ri --no-rdoc
rails _3.2.2_ new roomz01 --skip-bundle
-----
Good Luck!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment