【问题标题】:Getting CalendarDateSelect gem to work with Rails 3让 CalendarDateSelect gem 与 Rails 3 一起工作
【发布时间】:2011-03-08 11:32:54
【问题描述】:

当我按照指示 here 并运行 bundle install 时,我得到:

Fetching http://github.com/paneq/calendar_date_select.git
c:/ruby192/lib/ruby/gems/1.9.1/gems/bundler-1.0.10/lib/bundler/source.rb:560:in ``': No such file or directory - git clone "http://github.com/paneq/calendar_date_select.git" "c:/ruby192/lib/ruby/gems/1.9.1/cache/bundler/git/calendar_date_select-32215bd0f96918494c96e788d776d90837363fe4" --bare --no-hardlinks (Errno::ENOENT)

我做错了什么?我可以在https://github.com/paneq/calendar_date_select/tree/rails3test 看到我想要的 GIT 存储库。

【问题讨论】:

    标签: git ruby-on-rails-3 rubygems bundler


    【解决方案1】:

    顺便说一下,我对这个进行了排序。该错误消息 (``': No such file or directory) 混淆了真正的问题,即 git 不在我的 PATH 上。嗯。

    【讨论】:

    • 我刚刚安装了 git 但没有重新启动 iTerm 会话时发生了这种情况。
    【解决方案2】:

    到目前为止,我在 Panques 版本上遇到了问题,它以前可以工作,但现在不行。我认为最好的选择可能是使用 JQuery 的 datepicker,因为它不会绑定到 Rails 版本并且是稳定的。

    【讨论】:

    • 是的,我已经将我的网站更新为 jQuery,所以问题现在没有实际意义!
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-10-25
    • 1970-01-01
    • 2021-06-10
    • 1970-01-01
    相关资源
    最近更新 更多