I have been having general issues with berkshelf, namely the dependancy solver problem that you can read more about here
Now that issue has been solved I've just tried to do a bundle install/update and a berks install to try out the new dependancy solver but I'm getting a strange error when i do a berks install:
➜ deployment git:(master) ✗ berks install
/usr/local/rvm/gems/ruby-1.9.3-p484#global/gems/ffi-1.9.3/lib/ffi/library.rb:133:in `block in ffi_lib': Could not open library '/usr/local/rvm/gems/ruby-1.9.3-p484/gems/dep_selector-1.0.0.alpha.2/lib/dep_gecode.bundle': dlopen(/usr/local/rvm/gems/ruby-1.9.3-p484/gems/dep_selector-1.0.0.alpha.2/lib/dep_gecode.bundle, 5): Symbol not found: __ZN6Gecode16ValBranchOptions3defE (LoadError)
Referenced from: /usr/local/rvm/gems/ruby-1.9.3-p484/gems/dep_selector-1.0.0.alpha.2/lib/dep_gecode.bundle
Expected in: flat namespace
in /usr/local/rvm/gems/ruby-1.9.3-p484/gems/dep_selector-1.0.0.alpha.2/lib/dep_gecode.bundle
from /usr/local/rvm/gems/ruby-1.9.3-p484#global/gems/ffi-1.9.3/lib/ffi/library.rb:100:in `map'
from /usr/local/rvm/gems/ruby-1.9.3-p484#global/gems/ffi-1.9.3/lib/ffi/library.rb:100:in `ffi_lib'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/dep_selector-1.0.0.alpha.2/lib/dep_selector/dep_gecode.rb:33:in `<module:Dep_gecode>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/dep_selector-1.0.0.alpha.2/lib/dep_selector/dep_gecode.rb:21:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/dep_selector-1.0.0.alpha.2/lib/dep_selector/gecode_wrapper.rb:21:in `require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/dep_selector-1.0.0.alpha.2/lib/dep_selector/gecode_wrapper.rb:21:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/dep_selector-1.0.0.alpha.2/lib/dep_selector/dependency_graph.rb:21:in `require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/dep_selector-1.0.0.alpha.2/lib/dep_selector/dependency_graph.rb:21:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/dep_selector-1.0.0.alpha.2/lib/dep_selector/selector.rb:21:in `require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/dep_selector-1.0.0.alpha.2/lib/dep_selector/selector.rb:21:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/dep_selector-1.0.0.alpha.2/lib/dep_selector.rb:22:in `require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/dep_selector-1.0.0.alpha.2/lib/dep_selector.rb:22:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/solve-1.0.0.rc1/lib/solve/solver.rb:1:in `require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/solve-1.0.0.rc1/lib/solve/solver.rb:1:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/solve-1.0.0.rc1/lib/solve.rb:10:in `require_relative'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/solve-1.0.0.rc1/lib/solve.rb:10:in `<module:Solve>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/gems/solve-1.0.0.rc1/lib/solve.rb:3:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/bundler/gems/berkshelf-7060813e4887/lib/berkshelf.rb:8:in `require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/bundler/gems/berkshelf-7060813e4887/lib/berkshelf.rb:8:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/bundler/gems/berkshelf-7060813e4887/lib/berkshelf/cli.rb:1:in `require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/bundler/gems/berkshelf-7060813e4887/lib/berkshelf/cli.rb:1:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/bundler/gems/berkshelf-7060813e4887/bin/berks:3:in `require'
from /usr/local/rvm/gems/ruby-1.9.3-p484/bundler/gems/berkshelf-7060813e4887/bin/berks:3:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/bin/berks:23:in `load'
from /usr/local/rvm/gems/ruby-1.9.3-p484/bin/berks:23:in `<main>'
from /usr/local/rvm/gems/ruby-1.9.3-p484/bin/ruby_executable_hooks:15:in `eval'
from /usr/local/rvm/gems/ruby-1.9.3-p484/bin/ruby_executable_hooks:15:in `<main>'
Now I don't know very much about Ruby but I have some experience with C++ and I will never forget these sorts of library linking issues. Only problem is I literally have no idea what I'm supposed to do with this!?
I'm on a mac so I've installed the Gecode dependancy using homebrew. I've tried uninstalling it and re-installing it a few times, I even tried following this article but it didn't seem to change anything.
Any advice would be much appreciated, thanks!
I was seeing the same symptoms, and did a little bit of research onto it. Got it to work by switching gecode versions:
brew switch gecode 3.7.3
Then uninstalled the offending gems:
gem uninstall berkshelf
gem uninstall solve
gem uninstall dep_selector
And finally reinstalling bershelf:
gem install berkshelf
Related
I followed the instructions on the shopify website and everything seemed to install correctly...until I tried to confirm it with shopify version
Here's the cmd output:
C:\WINDOWS\system32>gem install shopify-cli
Fetching shopify-cli-2.7.4.gem
Successfully installed shopify-cli-2.7.4
Parsing documentation for shopify-cli-2.7.4
Installing ri documentation for shopify-cli-2.7.4
Done installing documentation for shopify-cli after 3 seconds
1 gem installed
C:\WINDOWS\system32>shopify version
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/shopify-cli-2.7.4/vendor/deps/cli-ui/lib/cli/ui/os.rb:15:in `current': Could not determine OS from platform x64-mingw-ucrt (RuntimeError)
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/shopify-cli-2.7.4/vendor/deps/cli-ui/lib/cli/ui/spinner.rb:13:in `<module:Spinner>'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/shopify-cli-2.7.4/vendor/deps/cli-ui/lib/cli/ui/spinner.rb:6:in `<module:UI>'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/shopify-cli-2.7.4/vendor/deps/cli-ui/lib/cli/ui/spinner.rb:5:in `<module:CLI>'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/shopify-cli-2.7.4/vendor/deps/cli-ui/lib/cli/ui/spinner.rb:4:in `<top (required)>'
from <internal:C:/Ruby31-x64/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:C:/Ruby31-x64/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/shopify-cli-2.7.4/bin/shopify:9:in `require'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/shopify-cli-2.7.4/vendor/deps/cli-ui/lib/cli/ui.rb:19:in `<module:UI>'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/shopify-cli-2.7.4/vendor/deps/cli-ui/lib/cli/ui.rb:2:in `<module:CLI>'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/shopify-cli-2.7.4/vendor/deps/cli-ui/lib/cli/ui.rb:1:in `<top (required)>'
from <internal:C:/Ruby31-x64/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:C:/Ruby31-x64/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/shopify-cli-2.7.4/bin/shopify:9:in `require'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/shopify-cli-2.7.4/lib/shopify_cli.rb:24:in `<top (required)>'
from <internal:C:/Ruby31-x64/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from <internal:C:/Ruby31-x64/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/shopify-cli-2.7.4/bin/shopify:9:in `require'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/shopify-cli-2.7.4/bin/load_shopify.rb:18:in `<top (required)>'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/shopify-cli-2.7.4/bin/shopify:32:in `require_relative'
from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/shopify-cli-2.7.4/bin/shopify:32:in `<top (required)>'
from C:/Ruby31-x64/bin/shopify:25:in `load'
from C:/Ruby31-x64/bin/shopify:25:in `<main>'
Any help is greatly appreciated
Seems like a bug. You should report it on their Github page, but in the meantime you can fix it yourself:
In your editor open the file:
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/shopify-cli-2.7.4/vendor/deps/cli-ui/lib/cli/ui/os.rb
Find the line (around line 12) that says:
when /mingw32/
Windows
Change it to:
when /mingw/
Windows
And now try again.
This issue has been fixed in version 2.10.2.
I'm trying to run the command
thin -R lat.ru start
in the directory 50web\servers\dev (lat.ru is part of the open source project 50web).
I get the following error:
D:\dev\derek\50web\servers\dev>thin -R lat.ru start
C:/Ruby21/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': ca
nnot load such file -- 2.1/pg_ext (LoadError)
from C:/Ruby21/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
`require'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/pg-0.18.4/lib/pg.rb:14:in `rescu
e in <top (required)>'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/pg-0.18.4/lib/pg.rb:3:in `<top (
required)>'
from C:/Ruby21/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in
`require'
from C:/Ruby21/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:135:in
`rescue in require'
from C:/Ruby21/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in
`require'
from C:/Ruby21/lib/ruby/site_ruby/2.1.0/getdb.rb:11:in `<top (required)>
'
from C:/Ruby21/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
`require'
from C:/Ruby21/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
`require'
from D:/dev/derek/50web/routes/lat.rb:2:in `<top (required)>'
from C:/Ruby21/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
`require'
from C:/Ruby21/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
`require'
from lat.ru:3:in `block in <main>'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/rack-1.6.4/lib/rack/builder.rb:5
5:in `instance_eval'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/rack-1.6.4/lib/rack/builder.rb:5
5:in `initialize'
from lat.ru:1:in `new'
from lat.ru:1:in `<main>'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/thin-1.6.4/lib/rack/adapter/load
er.rb:33:in `eval'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/thin-1.6.4/lib/rack/adapter/load
er.rb:33:in `load'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/thin-1.6.4/lib/thin/controllers/
controller.rb:182:in `load_rackup_config'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/thin-1.6.4/lib/thin/controllers/
controller.rb:72:in `start'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/thin-1.6.4/lib/thin/runner.rb:20
0:in `run_command'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/thin-1.6.4/lib/thin/runner.rb:15
6:in `run!'
from C:/Ruby21/lib/ruby/gems/2.1.0/gems/thin-1.6.4/bin/thin:6:in `<top (
required)>'
from C:/Ruby21/bin/thin:23:in `load'
from C:/Ruby21/bin/thin:23:in `<main>'
I'm using pg 0.18.4, which seems like the most recent version:
D:\dev\derek\50web\servers\dev>gem list pg
*** LOCAL GEMS ***
pg (0.18.4)
D:\dev\derek\50web\servers\dev>gem update pg
Updating installed gems
Nothing to update
Ruby version is 2.1.7p400 (2015-08-18 revision 51632) [i386-mingw32].
How can I fix this error?
Update 1 (02.02.2016 08:08 MSK):
I've to run the same project on a different machine:
C:\usr\dp\dev\derek\50web\servers\dev>ruby lat.ru
C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- 2.2/pg_ext (LoadError)
from C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/pg-0.18.4/lib/pg.rb:14:in `rescue in <top (required)>'
from C:/Ruby22/lib/ruby/gems/2.2.0/gems/pg-0.18.4/lib/pg.rb:3:in `<top (required)>'
from C:/Ruby22/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `require'
I noticed that Ruby seems to look for the pg_ext file in 2.2/pg_ext directory, whereas in reality it's installed in the C:\Ruby22\lib\ruby\gems\2.2.0\gems\pg-0.18.4\lib directory.
It looks like installation of C-extension part of pg gem is broken.
make sure postgresql development libraries are installed
reinstall pg gem and see if there are no error messages
Reinstallation with -f force flag, or better gem uninstall and gem install anew.
I fixed the error by uninstalling the pg gem and re-installing it using gem install pg --pre command. It's necessary because of a bug, which hasn't been fixed in the release version yet.
I have sass installed on my Mac but every time I try to run I get this error.
I am on a Mac with OSX 10.9.4
Ruby 1.9.3
Andrews-iMac:~ andrewcorliss$ sass -v
/Users/andrewcorliss/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': dlopen(/Users/andrewcorliss/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/x86_64-darwin12.3.0/digest/sha1.bundle, 9): Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib (LoadError)
Referenced from: /Users/andrewcorliss/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/x86_64-darwin12.3.0/digest/sha1.bundle
Reason: image not found - /Users/andrewcorliss/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/x86_64-darwin12.3.0/digest/sha1.bundle
from /Users/andrewcorliss/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/andrewcorliss/.rvm/gems/ruby-1.9.3-p392/gems/sass-3.3.14/lib/sass/engine.rb:2:in `<top (required)>'
from /Users/andrewcorliss/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/andrewcorliss/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/andrewcorliss/.rvm/gems/ruby-1.9.3-p392/gems/sass-3.3.14/lib/sass.rb:104:in `<top (required)>'
from /Users/andrewcorliss/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/andrewcorliss/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/andrewcorliss/.rvm/gems/ruby-1.9.3-p392/gems/sass-3.3.14/bin/sass:8:in `rescue in <top (required)>'
from /Users/andrewcorliss/.rvm/gems/ruby-1.9.3-p392/gems/sass-3.3.14/bin/sass:5:in `<top (required)>'
from /Users/andrewcorliss/.rvm/gems/ruby-1.9.3-p392/bin/sass:19:in `load'
from /Users/andrewcorliss/.rvm/gems/ruby-1.9.3-p392/bin/sass:19:in `<main>'
from /Users/andrewcorliss/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/andrewcorliss/.rvm/gems/ruby-1.9.3-p392/bin/ruby_noexec_wrapper:14:in `<main>'
Any help is appreciated.
Yeah I finally found the Answer. I did not have node or ruby on rails properly installed on my machine. Once doing a clean and installing it fresh everything worked fine.
I thought I had Compass installed OK using rbenv on my Mac, but I got an error when trying to switch Codekit to use it instead of its internal compiler.
Running compass -v in the terminal gives me:
/.rbenv/versions/1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:110:in `require': cannot load such file -- sass/script/node (LoadError)
from /.rbenv/versions/1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:110:in `rescue in require'
from /.rbenv/versions/1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:35:in `require'
from /.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/compass-0.12.2/lib/compass/sass_extensions/monkey_patches/browser_support.rb:1:in `<top (required)>'
from /.rbenv/versions/1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:58:in `require'
from /.rbenv/versions/1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:58:in `require'
from /.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/compass-0.12.2/lib/compass/sass_extensions/monkey_patches.rb:2:in `block in <top (required)>'
from /.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/compass-0.12.2/lib/compass/sass_extensions/monkey_patches.rb:1:in `each'
from /.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/compass-0.12.2/lib/compass/sass_extensions/monkey_patches.rb:1:in `<top (required)>'
from /.rbenv/versions/1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:58:in `require'
from /.rbenv/versions/1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:58:in `require'
from /.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/compass-0.12.2/lib/compass/sass_extensions.rb:9:in `<top (required)>'
from /.rbenv/versions/1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:58:in `require'
from /.rbenv/versions/1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:58:in `require'
from /.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/compass-0.12.2/lib/compass.rb:5:in `block in <top (required)>'
from /.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/compass-0.12.2/lib/compass.rb:4:in `each'
from /.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/compass-0.12.2/lib/compass.rb:4:in `<top (required)>'
from /.rbenv/versions/1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:58:in `require'
from /.rbenv/versions/1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:58:in `require'
from /.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/compass-0.12.2/bin/compass:20:in `block in <top (required)>'
from /.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/compass-0.12.2/bin/compass:8:in `fallback_load_path'
from /.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/compass-0.12.2/bin/compass:19:in `<top (required)>'
from /.rbenv/versions/1.9.3-p392/bin/compass:23:in `load'
from /.rbenv/versions/1.9.3-p392/bin/compass:23:in `<main>'
So, it would seem there's a problem there, although running gem install compass tells me that compass-0.12.2 was successfully installed.
How do I go about working out what the problem is and fixing it?
Try this version,
http://rubygems.org/gems/sass/versions/3.3.0.alpha.149
gem install sass -v 3.3.0.alpha.149 --pre
Bear in mind that the command above installs the gem, it doesn't activate the version!
You can run the following:
gem uninstall sass
You'll be prompted with a list of installed versions; merely uninstall the ones that are 3.3.0.alpha.X where X is higher then 149.
You can test it works via:
sass --version
compass --version
You should see normal pages (instead of the errors in your question).
ps.
You may need this too:
gem install compass-sourcemaps -v 0.12.2.sourcemaps.57a186c --pre
In my case, it was an incompatibility between compass and sass. It was "sass-3.3.0.rc.2" installed automatically via compass dependencies.
So I had to remove sass version gem uninstall sass and install another version gem install sass -v 3.2.12
After that, the errors disappeared.
There's an issue with some imports in one script within compass. An easy fix, but for now you can add this to your Gemfile (works for me right now):
gem "compass", github: 'ovaskevich/compass'
I'm getting an error trying to run an app, not even trying to do anything sophisticated either, just get the basic thing running... Just wondering if anyone can give me any pointers as to how to debug it. I suspect it might be to do with RVM gemsets, but I'm not sure...
Here's the error message I'm receiving:
NameError: uninitialized constant ActiveSupport::Deprecation
~/Developer/.rvm/gems/ruby-1.9.3-p0#global/gems/rake-0.9.2.2/lib/rake/ext/module.rb:36:in `const_missing'
~/Developer/.rvm/gems/ruby-1.9.3-p0#marathon_site/gems/activesupport-3.2.1/lib/active_support/core_ext/module/deprecation.rb:7:in `deprecate'
~/Developer/.rvm/gems/ruby-1.9.3-p0#marathon_site/gems/activesupport-3.2.1/lib/active_support/core_ext/module/synchronization.rb:44:in `<class:Module>'
~/Developer/.rvm/gems/ruby-1.9.3-p0#marathon_site/gems/activesupport-3.2.1/lib/active_support/core_ext/module/synchronization.rb:6:in `<top (required)>'
~/Developer/.rvm/gems/ruby-1.9.3-p0#marathon_site/gems/activesupport-3.2.1/lib/active_support/core_ext/module.rb:8:in `require'
~/Developer/.rvm/gems/ruby-1.9.3-p0#marathon_site/gems/activesupport-3.2.1/lib/active_support/core_ext/module.rb:8:in `<top (required)>'
~/Developer/.rvm/gems/ruby-1.9.3-p0#marathon_site/gems/padrino-core-0.9.21/lib/padrino-core/support_lite.rb:13:in `require'
~/Developer/.rvm/gems/ruby-1.9.3-p0#marathon_site/gems/padrino-core-0.9.21/lib/padrino-core/support_lite.rb:13:in `<top (required)>'
~/Developer/.rvm/gems/ruby-1.9.3-p0#marathon_site/gems/padrino-core-0.9.21/lib/padrino-core.rb:2:in `require'
~/Developer/.rvm/gems/ruby-1.9.3-p0#marathon_site/gems/padrino-core-0.9.21/lib/padrino-core.rb:2:in `<top (required)>'
~/Developer/.rvm/gems/ruby-1.9.3-p0#marathon_site/gems/padrino-0.9.21/lib/padrino.rb:2:in `require'
~/Developer/.rvm/gems/ruby-1.9.3-p0#marathon_site/gems/padrino-0.9.21/lib/padrino.rb:2:in `<top (required)>'
~/Developer/.rvm/gems/ruby-1.9.3-p0#global/gems/bundler-1.1.rc.7/lib/bundler/runtime.rb:68:in `require'
~/Developer/.rvm/gems/ruby-1.9.3-p0#global/gems/bundler-1.1.rc.7/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
~/Developer/.rvm/gems/ruby-1.9.3-p0#global/gems/bundler-1.1.rc.7/lib/bundler/runtime.rb:66:in `each'
~/Developer/.rvm/gems/ruby-1.9.3-p0#global/gems/bundler-1.1.rc.7/lib/bundler/runtime.rb:66:in `block in require'
~/Developer/.rvm/gems/ruby-1.9.3-p0#global/gems/bundler-1.1.rc.7/lib/bundler/runtime.rb:55:in `each'
~/Developer/.rvm/gems/ruby-1.9.3-p0#global/gems/bundler-1.1.rc.7/lib/bundler/runtime.rb:55:in `require'
~/Developer/.rvm/gems/ruby-1.9.3-p0#global/gems/bundler-1.1.rc.7/lib/bundler.rb:118:in `require'
~/Documents/Projects/MarathonSite/config/boot.rb:8:in `<top (required)>'
I have activesupport 3.2.1 listed in the gemset with my project, so I'm not entirely sure why it's complaining. Any pointers as to what's going on would be appreciated, so I can debug this kind of thing in the future.
Seems a gem clashing.
Update padrino to latest version 0.10.5 (or 0.10.6.c)
gem install padrino --pre
Try using a stable version of bundler
gem uninstall bundler -a; gem install bundler
Edit gemfile of your project and point to padrino 0.10.5 or 0.10.6.c