小编Sco*_*ein的帖子

如何在水平溢出的页面上向右滚动?

当用户关闭模态时(特别是基础4中的显示模式),我想滚动到页面的最右边缘(非常有用).

我已经尝试在一个正确对齐的div上设置一个id,但这显然不起作用.

javascript jquery

16
推荐指数
2
解决办法
3万
查看次数

使用rbenv安装Ruby 2.0.0-p247

我正在尝试使用rbenv安装Ruby 2.0.0-p247,无论我做什么,我都会遇到同样的错误.这是命令和响应:

$ RUBY_CONFIGURE_OPTS=--with-openssl-dir=/usr/local/Cellar/openssl/1.0.1e rbenv install 2.0.0-p247
Downloading ruby-2.0.0-p247.tar.gz...
-> http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz
Installing ruby-2.0.0-p247...

BUILD FAILED

Inspect or clean up the working tree at /var/folders/v1/f8v8hqk12cdcdjwp660mz8fm0000gp/T/ruby-build.20130803134459.46575
Results logged to /var/folders/v1/f8v8hqk12cdcdjwp660mz8fm0000gp/T/ruby-build.20130803134459.46575.log

Last 10 log lines:
installing default gems:      /Users/scottmagdalein1/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0 (build_info, cache, doc, gems, specifications)
                              bigdecimal 1.2.0
                              io-console 0.4.2
                              json 1.7.7
                              minitest 4.3.2
                              psych 2.0.0
                              rake 0.9.6
                              rdoc 4.0.0
                              test-unit 2.0.0.0
The Ruby openssl extension was not compiled. Missing the OpenSSL lib?
Run Code Online (Sandbox Code Playgroud)

我知道其他地方已经提出了这个问题,但这些解决方案仍然给出了与OpenSSL相同的答案.救命?

openssl rbenv ruby-2.0

5
推荐指数
1
解决办法
1316
查看次数

标签 统计

javascript ×1

jquery ×1

openssl ×1

rbenv ×1

ruby-2.0 ×1