开发者

Compass does not see a local gem installed by Bundler

In my Gemfile I have:

gem 'stitch', :path => "/Users/myname/stitch-css"

When I run 'bundle install' I see:

Using stitch (0开发者_JS百科.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!


Try running bundle exec compass watch instead.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜