I have installed rvm 1.9.2-320, here is my gem list
addressable (2.3.5)
breakpoint (2.0.5)
bundler (1.5.3, 1.5.0)
bundler-unload (1.0.2)
chunky_png (1.3.0, 1.2.8)
color-schemer (0.2.5)
compass (0.12.2)
compass-aurora (3.0.6)
compass-blend-modes (0.0.2)
compass-normalize (1.4.3)
css_parser (1.3.4)
executable-hooks (1.2.6)
fssm (0.2.10)
gem-wrappers (1.2.1)
minitest (1.6.0)
rake (0.8.7)
rdoc (2.5.8)
rubygems-bundler (1.4.2)
rvm (1.11.3.8)
sass (3.2.14)
sassy-buttons (0.1.4)
sassy-strings (0.3.1)
singularitygs (1.0.8)
toolkit (1.0.0)
When I run compass watch I get this...
/Users/twhelan/.rvm/gems/ruby-1.9.2-p320#global/gems/bundler-1.5.3/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find chunky_png-1.2.9 in any of the sources (Bundler::GemNotFound)
from /Users/twhelan/.rvm/gems/ruby-1.9.2-p320#global/gems/bundler-1.5.3/lib/bundler/spec_set.rb:85:in `map!'
from /Users/twhelan/.rvm/gems/ruby-1.9.2-p320#global/gems/bundler-1.5.3/lib/bundler/spec_set.rb:85:in `materialize'
from /Users/twhelan/.rvm/gems/ruby-1.9.2-p320#global/gems/bundler-1.5.3/lib/bundler/definition.rb:133:in `specs'
from /Users/twhelan/.rvm/gems/ruby-1.9.2-p320#global/gems/bundler-1.5.3/lib/bundler/definition.rb:178:in `specs_for'
from /Users/twhelan/.rvm/gems/ruby-1.9.2-p320#global/gems/bundler-1.5.3/lib/bundler/runtime.rb:13:in `setup'
from /Users/twhelan/.rvm/gems/ruby-1.9.2-p320#global/gems/bundler-1.5.3/lib/bundler.rb:126:in `setup'
from /Users/twhelan/.rvm/gems/ruby-1.9.2-p320#global/gems/bundler-1.5.3/lib/bundler.rb:131:in `require'
from /Users/twhelan/.rvm/gems/ruby-1.9.2-p320/gems/compass-0.12.2/bin/compass:26:in `<top (required)>'
from /Users/twhelan/.rvm/gems/ruby-1.9.2-p320/bin/compass:23:in `load'
from /Users/twhelan/.rvm/gems/ruby-1.9.2-p320/bin/compass:23:in `<main>'
from /Users/twhelan/.rvm/gems/ruby-1.9.2-p320/bin/ruby_executable_hooks:15:in `eval'
from /Users/twhelan/.rvm/gems/ruby-1.9.2-p320/bin/ruby_executable_hooks:15:in `<main>'
I have tried to uninstall sass and reinstall. I have many things but I am missing something and need some guidance.
What solved my problem was basically uninstalling the bundle, sass, and compass gem. Then finally figuring out the correct combination of versions that would work with the Drupal Theme that I downloaded.
Two places that helps figure it out in time.
RVM - http://rvm.io/
Decent Tut - http://www.rosehosting.com/blog/install-ruby-sass-and-compass/
Related
I just installed Jekyll on Windows and I'm trying to make the syntax highlight work with rouge.
I have set highlighter: rouge on _config.yml.
In the file _posts\2015-08-13-my-first-post.md I got:
{% highlight javascript linenos %}
var s = "JavaScript syntax highlighting";
alert(s);
{% endhighlight %}
When I run bundle exec jekyll serve it outputs:
C:\Users\Fred\Documents\Projects\GithubPage>bundle exec jekyll serve
Configuration file: C:/Users/Fred/Documents/Projects/GithubPage/_config.yml
Source: C:/Users/Fred/Documents/Projects/GithubPage
Destination: C:/Users/Fred/Documents/Projects/GithubPage/_site
Generating...
Liquid Exception: cannot load such file -- rouge in _posts/2015-08-13-my-first-post.md
C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/tags/highlight.rb:103:in `require': cannot load such file -- rouge (LoadError)
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/tags/highlight.rb:103:in `render_rouge'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/tags/highlight.rb:54:in `render'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/liquid-2.6.3/lib/liquid/block.rb:109:in `block in render_all'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/liquid-2.6.3/lib/liquid/block.rb:96:in `each'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/liquid-2.6.3/lib/liquid/block.rb:96:in `render_all'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/liquid-2.6.3/lib/liquid/block.rb:82:in `render'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/liquid-2.6.3/lib/liquid/template.rb:128:in `render'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/liquid-2.6.3/lib/liquid/template.rb:138:in `render!'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/convertible.rb:106:in `render_liquid'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/convertible.rb:233:in `do_layout'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/post.rb:261:in `render'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:298:in `block in render'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:297:in `each'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:297:in `render'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:51:in `process'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/command.rb:28:in `process_site'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/commands/build.rb:56:in `build'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/commands/build.rb:34:in `process'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/lib/jekyll/commands/serve.rb:26:in `block (2 levels) in init_with_program'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `call'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `block in execute'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `each'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `execute'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mercenary-0.3.5/lib/mercenary/program.rb:42:in `go'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/mercenary-0.3.5/lib/mercenary.rb:19:in `program'
from C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/jekyll-2.5.3/bin/jekyll:20:in `<top (required)>'
from C:/Ruby21-x64/bin/jekyll:23:in `load'
from C:/Ruby21-x64/bin/jekyll:23:in `<main>'
The gems that I have installed are:
C:\Users\Fred\Documents\Projects\GithubPage>gem list --local
*** LOCAL GEMS ***
bigdecimal (1.2.4)
blankslate (2.1.2.4)
bundler (1.10.6)
celluloid (0.16.1)
classifier-reborn (2.0.3)
coffee-script (2.4.1)
coffee-script-source (1.9.1.1)
colorator (0.1)
execjs (2.5.2)
fast-stemmer (1.0.2)
ffi (1.9.10 x64-mingw32)
hitimes (1.2.2)
io-console (0.4.3)
jekyll (2.5.3)
jekyll-coffeescript (1.0.1)
jekyll-gist (1.3.0)
jekyll-paginate (1.1.0)
jekyll-sass-converter (1.3.0)
jekyll-watch (1.2.1)
json (1.8.1)
kramdown (1.8.0)
liquid (2.6.3)
listen (2.10.1)
mercenary (0.3.5)
minitest (4.7.5)
parslet (1.5.0)
posix-spawn (0.3.11)
psych (2.0.5)
pygments.rb (0.6.3)
rake (10.1.0)
rb-fsevent (0.9.5)
rb-inotify (0.9.5)
rdoc (4.1.0)
redcarpet (3.3.2)
rouge (1.9.1)
safe_yaml (1.0.4)
sass (3.4.16)
test-unit (2.1.6.0)
timers (4.0.1)
toml (0.1.2)
yajl-ruby (1.2.1)
I had the same problem. I added the line
gem 'rouge'
to my Gemfile, then ran
bundle install
Then I could run
bundle exec jekyll build
without the error.
Github Pages work only with these plugins for security reasons.
Have you installed rouge in your Jekyll directory?
Here is a guide for syntax highlighting in Jekyll and installing Jekyll on a Windows machine that might help you.
As far as I can tell, I've installed everything correctly, however I still can't run my program. To be clear, this was written on linux, and I'm now trying to run it on a windows machine.
I have the following gem list:
*** LOCAL GEMS ***
addressable (2.2.7, 2.2.6)
akami (1.2.2)
backports (3.6.0)
bcrypt (3.1.7 x64-mingw32)
bcrypt-ruby (3.1.5 x64-mingw32)
bigdecimal (1.2.0)
builder (3.2.2, 3.1.4)
bundle (0.0.1)
bundler (1.6.2)
daemons (1.1.9)
data_mapper (1.2.0)
data_objects (0.10.14)
dm-aggregates (1.2.0)
dm-constraints (1.2.0)
dm-core (1.2.0)
dm-do-adapter (1.2.0)
dm-migrations (1.2.0)
dm-serializer (1.2.2)
dm-sqlite-adapter (1.2.0)
dm-timestamps (1.2.0)
dm-transactions (1.2.0)
dm-types (1.2.2)
dm-validations (1.2.0)
do_sqlite3 (0.10.14)
encryptor (1.3.0)
fastercsv (1.5.5)
gyoku (1.1.1, 1.1.0)
haml (4.0.5)
httpi (2.1.0)
io-console (0.4.2)
json (1.8.1, 1.7.7)
json_pure (1.8.1)
mail (2.5.4)
mime-types (1.25.1)
mini_portile (0.5.3, 0.5.2)
minitest (4.3.2)
multi_json (1.9.2)
nokogiri (1.6.2.rc2 x64-mingw32)
nori (2.4.0)
polyglot (0.3.3)
pony (1.6.2)
psych (2.0.0)
puma (2.8.2)
rack (1.5.2)
rack-protection (1.5.2)
rack-test (0.6.2)
rake (0.9.6)
rdoc (4.0.0)
rubyntlm (0.3.4)
savon (2.5.0)
sinatra (1.4.4)
sinatra-contrib (1.4.2)
sinatra-static-assets (1.0.3)
sqlite3 (1.3.9 x64-mingw32)
stringex (1.5.1)
test-unit (2.0.0.0)
tilt (1.4.1)
treetop (1.4.15)
uuidtools (2.1.4)
wasabi (3.3.0)
sqlite3 was compiled from source, and installed using gem install sqlite3 -- --with-sqlite3-include=c:/sources/sqlite3 --with-sqlite3-lib=c:/sources/sqlite3/.libs to success.
The required gems in the main ruby file are:
require 'sinatra'
require 'sinatra/static_assets'
require 'sinatra/cookies'
require 'haml'
require 'savon'
require 'encryptor'
require 'pony'
require 'open-uri'
require 'json'
require 'data_mapper'
I should note running each of those requires inside irb all return true with no errors. When running ruby main.rb, I'm met with:
c:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:in `require': cannot load such file -- do_sqlite3/2.0/do_sqlite3 (LoadError)
from c:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:in `require'
from c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/backports-3.6.0/lib/backports/tools.rb:343:in `require_with_backports'
from c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/do_sqlite3-0.10.14/lib/do_sqlite3.rb:32:in `rescue in <top (required)>'
from c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/do_sqlite3-0.10.14/lib/do_sqlite3.rb:27:in `<top (required)>'
from c:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `require'
from c:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
from c:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:144:in `require'
from c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/backports-3.6.0/lib/backports/tools.rb:343:in `require_with_backports'
from c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/dm-sqlite-adapter-1.2.0/lib/dm-sqlite-adapter/adapter.rb:1:in `<top (required)>'
from c:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in `require'
from c:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in `require'
from c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/backports-3.6.0/lib/backports/tools.rb:343:in `require_with_backports'
from c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/dm-sqlite-adapter-1.2.0/lib/dm-sqlite-adapter.rb:1:in `<top (required)>'
from c:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `require'
from c:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
from c:/Ruby200-x64/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:144:in `require'
from c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/backports-3.6.0/lib/backports/tools.rb:343:in `require_with_backports'
from c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/dm-core-1.2.0/lib/dm-core/adapters.rb:163:in `load_adapter'
from c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/dm-core-1.2.0/lib/dm-core/adapters.rb:133:in `adapter_class'
from c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/dm-core-1.2.0/lib/dm-core/adapters.rb:13:in `new'
from c:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/dm-core-1.2.0/lib/dm-core.rb:230:in `setup'
from rxsite.rb:14:in `<main>'
Usually I would go through the steps I've tried so far to solve this, but I'm don't actually know where to start with this. I can only assume it's an issue with the way I installed sqlite3
Fixed this by removing x64 ruby, and installing x86 ruby.
Seems like a lot of problems stem from using the 64bit version.
I made a clean install of my computer and so reinstall Ruby and Jekyll.
And seems like a big update happened and my old project won't load anymore. Here is what I have when I do a jekyll server
[Arnaud#TARDIS ~/Sites/arnaud scroll]$ jekyll server
Configuration file: /Users/Arnaud/Sites/arnaud/_config.yml
/Users/Arnaud/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- nokogiri (LoadError)
from /Users/Arnaud/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/Arnaud/Sites/arnaud/_plugins/firstPar.rb:1:in `<top (required)>'
from /Users/Arnaud/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/Arnaud/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/Arnaud/.rvm/gems/ruby-2.0.0-p195#arnaud/gems/jekyll-1.0.2/lib/jekyll/site.rb:87:in `block (2 levels) in setup'
from /Users/Arnaud/.rvm/gems/ruby-2.0.0-p195#arnaud/gems/jekyll-1.0.2/lib/jekyll/site.rb:86:in `each'
from /Users/Arnaud/.rvm/gems/ruby-2.0.0-p195#arnaud/gems/jekyll-1.0.2/lib/jekyll/site.rb:86:in `block in setup'
from /Users/Arnaud/.rvm/gems/ruby-2.0.0-p195#arnaud/gems/jekyll-1.0.2/lib/jekyll/site.rb:85:in `each'
from /Users/Arnaud/.rvm/gems/ruby-2.0.0-p195#arnaud/gems/jekyll-1.0.2/lib/jekyll/site.rb:85:in `setup'
from /Users/Arnaud/.rvm/gems/ruby-2.0.0-p195#arnaud/gems/jekyll-1.0.2/lib/jekyll/site.rb:34:in `initialize'
from /Users/Arnaud/.rvm/gems/ruby-2.0.0-p195#arnaud/gems/jekyll-1.0.2/lib/jekyll/commands/build.rb:5:in `new'
from /Users/Arnaud/.rvm/gems/ruby-2.0.0-p195#arnaud/gems/jekyll-1.0.2/lib/jekyll/commands/build.rb:5:in `process'
from /Users/Arnaud/.rvm/gems/ruby-2.0.0-p195#arnaud/gems/jekyll-1.0.2/bin/jekyll:83:in `block (2 levels) in <top (required)>'
from /Users/Arnaud/.rvm/gems/ruby-2.0.0-p195#arnaud/gems/commander-4.1.3/lib/commander/command.rb:180:in `call'
from /Users/Arnaud/.rvm/gems/ruby-2.0.0-p195#arnaud/gems/commander-4.1.3/lib/commander/command.rb:180:in `call'
from /Users/Arnaud/.rvm/gems/ruby-2.0.0-p195#arnaud/gems/commander-4.1.3/lib/commander/command.rb:155:in `run'
from /Users/Arnaud/.rvm/gems/ruby-2.0.0-p195#arnaud/gems/commander-4.1.3/lib/commander/runner.rb:400:in `run_active_command'
from /Users/Arnaud/.rvm/gems/ruby-2.0.0-p195#arnaud/gems/commander-4.1.3/lib/commander/runner.rb:66:in `run!'
from /Users/Arnaud/.rvm/gems/ruby-2.0.0-p195#arnaud/gems/commander-4.1.3/lib/commander/delegates.rb:7:in `run!'
from /Users/Arnaud/.rvm/gems/ruby-2.0.0-p195#arnaud/gems/commander-4.1.3/lib/commander/import.rb:10:in `block in <top (required)>'
Any idea ?
EDIT :
Here is the list of gems :
[Arnaud#TARDIS ~/Sites/arnaud scroll]$ gem list --all
*** LOCAL GEMS ***
bigdecimal (1.2.0)
bundler (1.3.5)
bundler-unload (1.0.1)
classifier (1.3.3)
colorator (0.1)
commander (4.1.3)
directory_watcher (1.4.1)
fast-stemmer (1.0.2)
highline (1.6.19)
io-console (0.4.2)
jekyll (1.0.2)
json (1.7.7)
kramdown (1.0.2)
liquid (2.5.0)
maruku (0.6.1)
minitest (4.3.2)
posix-spawn (0.3.6)
psych (2.0.0)
pygments.rb (0.5.0)
rake (10.0.4, 0.9.6)
rdoc (4.0.0)
rubygems-bundler (1.2.0)
rvm (1.11.3.8)
safe_yaml (0.7.1)
syntax (1.0.0)
test-unit (2.0.0.0)
yajl-ruby (1.1.0)
Try uninstall nokogiri (if installed) and redo everything. Ensure that sudo is not used during the installation (as your Jekyll was installed without sudo by gem install jekyll).
gem install nokogiri
Apparently there's something wrong with your setup. For example, the following error
/Users/Arnaud/.rvm/rubies/ruby-2.0.0-p195/lib/ruby/site_ruby/2.0.0/rubygems/dependency.rb:296:in `to_specs': Could not find 'jekyll' (>= 0) among 8 total gem(s) (Gem::LoadError)
shouldn't be happening in case the Jekyll gem was installed (or could at least be reached) correctly. (most of the Jekyll problems are related to lack of correct YAML front matter, to be honest)
If you pay attention to sudo gem list --all, you'll notice that jekyll isn't installed when you use sudo. Did you try:
gem install jekyll
jekyll serve
This should work, or at least give you a "better" error.
Ah, a good solution to avoid these errors (or at least control them easily) is to use RVM gemsets to separate your gems. It's very useful for debugging.
Trying to get chef-server to start I get the following error:
[root#SCM: /etc/chef]$ /etc/init.d/chef-server-webui start
* Starting chef-server-webui
/usr/lib/ruby/1.8/rubygems/remote_fetcher.rb:14: uninitialized constant Gem::UserInteraction (NameError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.8/rubygems/spec_fetcher.rb:4
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.8/chef/provider/package/rubygems.rb:31
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.8/chef/providers.rb:59
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.8/chef.rb:25
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/sbin/chef-server-webui:42
And here is my gem list
*** LOCAL GEMS ***
bundler (1.0.18)
bunny (0.7.6)
chef (0.10.4)
chef-server-webui (0.10.4)
coderay (1.0.0)
daemons (1.1.4)
erubis (2.7.0)
eventmachine (0.12.10)
extlib (0.9.15)
haml (3.1.3)
highline (1.6.2)
json (1.5.2, 1.4.6)
merb-assets (1.1.3)
merb-core (1.1.3)
merb-haml (1.1.3)
merb-helpers (1.1.3)
merb-param-protection (1.1.3)
mime-types (1.16)
mixlib-authentication (1.1.4)
mixlib-cli (1.2.2)
mixlib-config (1.1.2)
mixlib-log (1.3.0)
moneta (0.6.0)
net-ssh (2.1.4)
net-ssh-gateway (1.1.0)
net-ssh-multi (1.1)
ohai (0.6.4)
polyglot (0.3.2)
rack (1.3.3)
rake (0.9.2)
rest-client (1.6.7)
ruby-openid (2.1.8)
systemu (2.4.0)
thin (1.2.11)
treetop (1.4.10)
uuidtools (2.1.2)
yajl-ruby (1.0.0)
Here is a Chef bugtracker issue for exactly this problem. Short summary: Chef seems to pick up different versions of RubyGems from different places after it was upgraded.
Rewinding the upgrade to RubyGems seems to help.
OS: Centos 5.8
Ruby version 1.9.3 (installed via RVM)
output from compass -v
/home/.rvm/gems/ruby-1.9.3-p194/gems/bundler-1.1.5/lib/bundler/shared_helpers.rb:22:in `default_gemfile': Could not locate Gemfile (Bundler::GemfileNotFound)
from /home/.rvm/gems/ruby-1.9.3-p194/gems/bundler-1.1.5/lib/bundler.rb:213:in `default_gemfile'
from /home/.rvm/gems/ruby-1.9.3-p194/gems/bundler-1.1.5/lib/bundler.rb:164:in `root'
from /home/.rvm/gems/ruby-1.9.3-p194/gems/bundler-1.1.5/lib/bundler.rb:123:in `load'
from /home/.rvm/gems/ruby-1.9.3-p194/gems/bundler-1.1.5/lib/bundler.rb:114:in `setup'
from /home/.rvm/gems/ruby-1.9.3-p194/gems/bundler-1.1.5/lib/bundler.rb:119:in `require'
from /home/.rvm/gems/ruby-1.9.3-p194/gems/compass-0.13.alpha.0/bin/compass:25:in `<top (required)>'
from /home/.rvm/gems/ruby-1.9.3-p194/bin/compass:19:in `load'
from /home/.rvm/gems/ruby-1.9.3-p194/bin/compass:19:in `<main>'
from /home/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `eval'
from /home/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `<main>'
gem list reports
bundler (1.1.5)
chunky_png (1.2.5)
compass (0.13.alpha.0)
fssm (0.2.9)
rake (0.9.2.2)
rubygems-bundler (1.0.3)
rvm (1.11.3.5)
sass (3.2.0.alpha.275, 3.1.20)
uninstall rubygems-bundler and re-install compass