Cannot compile ruby 1.9.3
you are using clang
, according to this ticket http://bugs.ruby-lang.org/issues/5883 - it's not "fully" supported - you need to try using gcc-4.2
, you get instructions for homebrew with running rvm requirements
.
here is RVM ticket for this problem https://github.com/wayneeseguin/rvm/issues/1480
UPDATE: Ruby-2.0.0 actually compiles better with clang
then with gcc-4.2
, more details here: https://stackoverflow.com/a/15655034/497756
Trouble installing ruby 1.9.3 because of a configuration issue
First goal should be to get the app back up running.
Therefore I would suggest to reset your app's configuration to the last working stand.
If this is not possible, please install ruby using rvm with the --with-gg=clang-option like this:
rvm install 1.9.3 --with-gcc=clang
Then use the installed ruby version by listing all installed rubies (running rvm list
) and choosing the 1.9.3 version provided (e.g. 1.9.3-p448) with the following command:
rvm --default use 1.9.3-p484
Please update your Gemfile with the ruby '1.9.3-p484'
line and make sure, you're in the login shell (to change to it, use /bin/bash --login
). After that your rvm commands should work again.
Cannot install Ruby 1.9.3-p194 via RBEnv due SSL_OP_MSIE_SSLV2_RSA_PADDING undeclared
It looks like the define was dropped sometime after 1.0.1e-2+deb7u6, certainly is not present in 1.0.1e-2+deb7u10.
I worked around this by adding
#define SSL_OP_MSIE_SSLV2_RSA_PADDING 0x00000040L /* no effect since 0.9.7h and 0.9.8b */
back to /usr/include/openssl/ssl.h. (Picked from 1.0.1e-2+deb7u6)
Do at your own risk, I have not investigated what will happen if that value is passed.
Error while installing ruby ruby-1.9.3-p551
Try this:
rvm install 1.9.3 --with-gcc=clang
Reference: https://stackoverflow.com/a/14072970/5515449
Problems installing Ruby on Mountain Lion - ruby 1.9.3 wont' compile
This is a bug in RailsInstaller OSX 1.0.3 - https://github.com/railsinstaller/railsinstaller-nix/issues/10
you need to change /etc/rvmrc
to contain this:
umask g+w
export -a rvm_configure_env
rvm_configure_env=('LDFLAGS=-L/opt/sm/pkg/active/lib' 'CFLAGS=-I/opt/sm/pkg/active/include' 'CPATH=/opt/sm/pkg/active/include')
I will prepare new version of the installer when binary ruby is available for 2.0.0.
UPDATE: for new version of RVM 1.19+
/etc/rvmrc
should be changed to:
umask g+w
export rvm_autolibs_flag=smf
And run rvm get stabel #OR: head
Can't compile 1.9.3 with rvm using gcc
This is known bug in ruby-1.9.3-p125 and another known bug in RVM,
please upgrade RVM:
rvm get head # or starting form April 2012:
rvm get stable
fix for this was introduced after releasing RVM 1.10.3 so you need to call rvm get stable
again.
Related Topics
Can Someone Explain Ruby's Use of Pipe Characters in a Block
Ruby/Rails - Models Named with Two Words (Naming Convention Issues)
Rails If Object.Nil? Then Magic '' in Views
How to Calculate the Offset, in Hours, of a Given Timezone from Utc in Ruby
Generate and Publish Ruby Based Rest APIs Documentation
Finding Nil Has_One Associations in Where Query
In Ruby, What Is the Cleanest Way of Obtaining the Index of the Largest Value in an Array
How to Convert Array of Activerecord Models to CSV
Where to Place/Access Config File in Gem
How Would You Test Observers with Rspec in a Ruby on Rails Application
How to Call Expire_Fragment from Rails Observer/Model
Rails 3 - Restricting Formats for Action in Resource Routes
Rails Rbenv: Rails: Command Not Found
How to Debug Http of Ruby Google-Api-Client
Ruby Use Array Tvalues to Index Nested Hash of Hash
Actioncontroller::Routingerror (No Route Matches [Put] ) for Ajax Call