rvm

RVM Ruby on Rails installation

痴心易碎 提交于 2019-12-18 02:57:18
问题 I'm having a trouble installing rvm ROR on my machine using ubuntu 12.04 here are the outputs I'm getting: Output #1: Searching for binary rubies, this might take some time. No binary rubies available for: ubuntu/12.04/i386/ruby-1.8.7-p371.Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies. Installing requirements for ubuntu, might require sudo password. and at the end of the line of update I get this: Output #2: There has been error while updating

Install any version of ruby with RVM on mavericks

六眼飞鱼酱① 提交于 2019-12-17 22:35:54
问题 I've just upgraded to osx mavericks, and I want to install ruby 2.0, but I'm getting configure: error: cannot run C compiled programs. errors. I update rvm with rvm get stable and then type rvm install 2.0.0 and get an error directing me to a log file. The log file contains: configure: WARNING: unrecognized options: --without-tcl, --without-tk checking build system type... x86_64-apple-darwin13.0.0 checking host system type... x86_64-apple-darwin13.0.0 checking target system type... x86_64

Faulty ruby compilation with rvm: getting 'undefined symbol: rb_Digest_MD5_Init' while running racku

烈酒焚心 提交于 2019-12-17 20:38:32
问题 I am on Ubuntu. Any ideas? Do I have to set any compilation option? 回答1: It seems you're missing some devel packages on your system. See my article here, specifically this step. I'm not sure, but the MD5 code could be part of libssl, so it would be covered by installing these packages. $ sudo apt-get install zlib1g-dev libreadline5-dev libssl-dev libxml2-dev 来源: https://stackoverflow.com/questions/3545118/faulty-ruby-compilation-with-rvm-getting-undefined-symbol-rb-digest-md5-init

Centos7搭建Ruby环境

你。 提交于 2019-12-17 18:34:15
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> centos7搭建ruby环境 先安装gcc环境 yum install gcc-c++ 获取密钥 gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB 获取rvm curl -sSL https://get.rvm.io | bash -s stable 根据输出的提示执行 source /home/gy/.rvm/scripts/rvm 可以使用rvm命令,列出所有已知源 rvm list known 输出如下 # MRI Rubies [ruby-]1.8.6[-p420] [ruby-]1.8.7[-head] # security released on head [ruby-]1.9.1[-p431] [ruby-]1.9.2[-p330] [ruby-]1.9.3[-p551] [ruby-]2.0.0[-p648] [ruby-]2.1[.10] [ruby-]2.2[.10] [ruby-]2.3[.7] [ruby-]2.4[.4] [ruby-]2.5[.1] [ruby-]2.6[

How do I fix Rubygems recent deprecation warning?

狂风中的少年 提交于 2019-12-17 18:28:51
问题 I have recently run updates: gem update --system gem update Now, I come with a lot of deprecation warnings each time I load a gem. For example, rails console : NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01. Gem::Specification#default_executable= called from /Users/user/.rvm/gems/ruby-1.9.2-p180@global/specifications/rake-0.8.7.gemspec:10. NOTE: Gem::Specification#default_executable= is deprecated with no replacement.

WARNING: Nokogiri was built against LibXML version 2.7.7, but has dynamically loaded 2.6.16

亡梦爱人 提交于 2019-12-17 18:03:47
问题 This question was migrated from Super User because it can be answered on Stack Overflow. Migrated 8 years ago . I can’t work out why I’m getting this error from Nokogiri when I start up Rails. From the little I know, it seems like something else is causing an older version of libxml2 to be loaded, which Nokogiri then ends up using, rather than the version it was compiled against. What do I need to do to get this working without the warning (and with the right libxml2)? I’m running this on a

Install Rails 3 on OSX with RVM

不羁岁月 提交于 2019-12-17 17:34:46
问题 Trying to install the new Rails 3 release on OSX 10.6. Have never touched Ruby or Rails on this machine since purchased. I was able to get rvm and get Ruby 1.9.2. installed. From there, I am stuck. I tried: rvmsudo gem install rails -v 3.0.0 sudo gem install rails --pre sudo gem install rails sudo gem update rails And I get the same result error each time: ERROR: While executing gem ... (Errno::ENOENT) No such file or directory - /Users/kevin/.rvm/gems/ruby-1.9.2-head@rails3/cache

Missing symbol when installing ruby-2.3.0 on OS X 10.11.6 by RVM

被刻印的时光 ゝ 提交于 2019-12-17 16:45:08
问题 I was failing to install ruby-2.3.0 by rvm, while it worked with ruby-2.2.0. The error message is as below Error running '__rvm_make -j 1', showing last 15 lines of /Users/Rookie/.rvm/log/1472865655_ruby-2.3.0/make.log compiling ./missing/explicit_bzero.c compiling ./missing/setproctitle.c compiling dmyenc.c linking miniruby config.status: creating ruby-runner.c dyld: lazy symbol binding failed: Symbol not found: _clock_gettime Referenced from: /Users/Rookie/.rvm/src/ruby-2.3.0/./miniruby

in `require': no such file to load — iconv (LoadError)

拜拜、爱过 提交于 2019-12-17 16:32:36
问题 ➜ expertiza git:(master) ✗ ruby -v ruby 1.8.7 (2011-06-30 patchlevel 352) [i686-darwin11.1.0] ➜ expertiza git:(master) ✗ rails -v Rails 2.3.14 ➜ expertiza git:(master) ✗ script/server /Users/HPV/.rvm/gems/ruby-1.8.7-p352/gems/activesupport-2.3.14/lib/active_support/inflector.rb:3:in `require': no such file to load -- iconv (LoadError) from /Users/HPV/.rvm/gems/ruby-1.8.7-p352/gems/activesupport-2.3.14/lib/active_support/inflector.rb:3 from /Users/HPV/.rvm/gems/ruby-1.8.7-p352/gems

Problems with the rails console, RVM and readline

痴心易碎 提交于 2019-12-17 15:27:36
问题 I've installed rvm as a way of making sure that my local development version of ruby is the same as my server's for a particular app i work on (ruby 1.8.7). I've done this, and installed ruby 1.8.7 ok. However, when i try to start the rails console i get this error: Readline was unable to be required, if you need completion or history install readline then reinstall the ruby. You may follow 'rvm notes' for dependencies and/or read the docs page http://rvm.beginrescueend.com/packages/readline/