Compass 没有看到 Bundler 安装的本地 gem
在我的 Gemfile 中,我有:
gem 'stitch', :path => "/Users/myname/stitch-css"
当我运行“bundle install”时,我看到:
Using stitch (0.1.3) from source at /Users/myname/stitch-css
但是当我运行“compass watch”时,我收到此错误:
LoadError on line ["36"] of /Users/myname/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb: no such file to load -- stitch
当然,我可以使用以下方式安装 gem:
gem install stitch
...然后 gem 可以很好地加载 Compass ,但不是来自我的本地版本 - 我的 Gemfile 中的路径被忽略 提前
感谢您的帮助!
In my Gemfile I have:
gem 'stitch', :path => "/Users/myname/stitch-css"
When I run 'bundle install' I see:
Using stitch (0.1.3) from source at /Users/myname/stitch-css
But when I run 'compass watch' I get this error:
LoadError on line ["36"] of /Users/myname/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb: no such file to load -- stitch
Of course, I can install the gem using:
gem install stitch
...and the gem then loads fine for Compass, but not from my local version - the path in my Gemfile is ignored
Thanks in advance for any help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试运行
bundle exec compass watch
。Try running
bundle exec compass watch
instead.