Close out your current shell or terminal session and open a new one (preferred). You may load RVM with the following command:
ser$ source ~/.rvm/scripts/rvm
If installation and configuration were successful, RVM should now load whenever you open a new shell. This can be tested by executing the following command which should output 'rvm is a function' as shown below.
user$ type rvm | head -n 1
rvm is a function NOTE: Before reporting problems check 'rvm notes' as it might contain important information. http://rvm.io/rvm/install
If you use the x64 version of ruby you might get an error saying Invalid configuration. Please fix ‘config.yml’ and rerun ‘ruby dk.rb install’. See http://stackoverflow.com/questions/16523607/cant-get-ruby-devkit-configuration-file-autogenerated-properlyni 看见这个了吗?
你现在只是
ruby dk.rb init
然后在
ruby dk.rb review
看看有没有找到你的 ruby 路径, 找到了在
ruby dk.rb install
Run Installation Scripts
cd from Step 3 above.
ruby dk.rb init to generate the config.yml file to be used later in this Step. Your installed Rubies will be listed there (only those installed by a RubyInstaller package are detected at present).
edit the generated config.yml file to include installed Rubies not automatically discovered or remove Rubies you do not want to use the DevKit with.
[optional] ruby dk.rb review to review the list of Rubies to be enhanced to use the DevKit and verify the changes you made to it are correct.
finally, ruby dk.rb install to DevKit enhance your installed Rubies. This step installs (or updates) an operating_system.rb file into the relevant directory needed to implement a RubyGems pre_install hook and a devkit.rb helper library file into \lib\ruby\site_ruby. NOTE: you may need to use the --force option to update (with backup of the originals) the above mentioned files as discussed at the SFX DevKit upgrade FAQ entry.
If you use the x64 version of ruby you might get an error saying Invalid configuration. Please fix ‘config.yml’ and rerun ‘ruby dk.rb install’
. See http://stackoverflow.com/questions/16523607/cant-get-ruby-devkit-configuration-file-autogenerated-properlyni 你还没有安装完毕呢,有什么问题吗
那你在安装的终端输出日志是神什么,不会就是 你给那些吧!请截图或者粘贴终端内输出的错误内容!!
没有具体错误信息吗,在吧出错日贴详细点,rvm 只看到 ruby-2.0.0-p247 没有看到有 p353 的版本呀
为什么要用 Redit 或者 Rfind 呢,直接使用 ctrl+p 不就可以了
重新安装 curl
oh-my-zsh https://github.com/robbyrussell/oh-my-zsh 可以实现你的需要
看看是不是证书问题,http://www.cnblogs.com/ainiaa/archive/2011/11/08/2241385.html,CURL试试不行就重新安装
的确是 500 了
gemfile 中添加这个试试 group :development, :test do if RUBY_VERSION =~ /1.9/ gem 'ruby-debug19' else gem 'ruby-debug' end end
@bpw11320 我都是直接现在 gem 包安装的。不用切换 到http://rubyforge.org/frs/?group_id=8883下载最新的包试试看看
gem install linecache19-0.5.13.gem -- --with-ruby-include=/Users/mdoroudi/.rvm/src/ruby-1.9.3-p0/ gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include=/Users/moroudi/.rvm/src/ruby-1.9.3-p0/ gem install ruby-debug19-0.11.6.gem -- --with-ruby-include=/Users/mdoroudi/.rvm/src/ruby-1.9.3-p0/ @bpw11320 安着这个方式在安装试试
启动之前使用 bundle install 了吗?
没有安装 ruby-debug19 ruby1.9.3 安装 rubydebug 去 RubyForce 下载最新的 Ruby-DEBUGde gem http://rubyforge.org/frs/?group_id=8883
:em
你要选择安装对应 1.8 的版本的 rails 安装,最好是 gem install rails -v2.3 安装
Sublime text 调出 zen coding 的方式就是 ctrl+alt+enter 但是对应的页面必须是 html,或者可编辑 html 的页面才可以调出控制台。
mysql2 我记得是不支持的。请跟换成为 mysql 试试
这个是使用 gem 'ruby-debug-base19', '>= 0.11.25' 会失败的,的使用 0.11.26 才可以安装,去 RubyForce 下载最新的 Ruby-DEBUGde gem http://rubyforge.org/frs/?group_id=8883 安装没有问题。
不是,是我退出后,在使用我的密码和账号登陆提示,用户名或者密码错误。然后我就只能重新找回就可以,还有就是使用 github 登陆是其它人的账号显示!!
账号:就是我的用户名,邮箱是:wangshuangjun0210#gmail.com
已经通过 ruby-china 注册了
支持呀,正在学习呀!!