I'm trying to install Spree following their guide here : http://guides.spreecommerce.com/getting_started.html
I'm stuck on a weird problem :
/usr/lib/ruby/vendor_ruby/active_support/inflector.rb:407: uninitialized constant ActiveSupport::CoreExtensions (NameError)
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/vendor_ruby/active_support/core_ext/string/inflections.rb:1
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/vendor_ruby/active_support/core_ext/string.rb:3
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/spree_cmd-1.2.2/lib/spree_cmd/installer.rb:2
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/spree_cmd-1.2.2/lib/spree_cmd.rb:13
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:55:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:55:in `require'
from /var/lib/gems/1.8/gems/spree_cmd-1.2.2/bin/spree:2
from /usr/local/bin/spree:19:
I'm using Ubuntu Server 12.04 and Rails 3.2.9.
Thanks for the help.
I would recommend uninstalling the version of Ruby that was installed using apt-get, and instead install it with this guide.
As #RyanBigg suggested that was a version problem of rails. The solution was to uninstall the rails version of APT and to install it through gem, while focusing on setting up the exact version mentionned in the spree installation guide :
sudo aptitude remove
gem install rails -v 3.2.3
Opposed to what you might think the APT version was "too recent" (3.2.9).
Related
I am trying to install gdb-multiarch on ubuntu 18.04. When I use sudo apt-get install gdb-multiarch, I am getting following error.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gdb-multiarch : Depends: gdb (= 8.1-0ubuntu3.2) but it is not going to be installed
Depends: libpython3.6 (>= 3.6.5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I couldn't find a way to install above dependencies.
It's probably caused by an installation of a version of python that wasn't included with your Ubuntu install so your package manager is confused about what to do.
This worked for me:
https://askubuntu.com/questions/1061762/ubuntu-18-04-cant-upgrade-because-of-libpython3-6-version-conflicts
i try to have a v4l source from my c920 logitech camera with gstreamer . I have an odroid XU4 with ubuntu 14.04 version 4.9 . I 'm trying to use the hardware acceleration to avoid using a lot of CPU .
I installed gstreamer from source since version > 1.2 is not available directly for ubuntu 14.04
I did it like this :
git clone -b 1.10 https://github.com/GStreamer/gstreamer.git
cd gstreamer
./autogen.sh
make -j
sudo make install
sudo ldconfig
I followed this tutorial :
https://forum.odroid.com/viewtopic.php?f=146&t=24366
I did the build from source for each dependencies needed by the tutorial in this order:
- gst-plugins-base
- gst-libav
- gst-plugins-bad
after that I get gst-plugins-good from https://github.com/mihailescu2m/gst-plugins-good and compile/install it
But I try to make I get this error :
gstv4l2videodec.c:48:3: error: conflicting types for 'GstV4l2VideoCData'
} GstV4l2VideoCData;
I don't understand where that come from and did not find any solution on the web. I don't want to break anything so I don't want to install wrong versions of libraries . Any idea of the source of the bug ?
Thanks for your help , i'm quite a noobie with odroid so sorry if the answer is obvious.
I fixed the error by applying this patch to the files concerned : https://github.com/fnoop/gst-plugins-good/commit/3825320c95740d57501638563cdf2546dc016846
but now I get an error when I 'm trying to run
dpkg-buildpackage -us -uc -b -j4
I get :
dpkg-checkbuilddeps: Unmet build dependencies: libgstreamer1.0-dev (>= 1.8.0) libgstreamer-plugins-base1.0-dev (>= 1.8.1) gstreamer1.0-plugins-base (>= 1.8.0) libsoup2.4-dev (>= 2.48) gstreamer1.0-doc gstreamer1.0-plugins-base-doc
I don't know how to install the correct versions of libgstreamer-plugins-base1.0-dev and libgstreamer1.0-dev for Ubuntu 14.04.
Does anyone know how to get to this ?
dpkg-checkbuilddeps searches for packages installed through .deb files. This excludes installations that don't use the debian package mechanism (in your case the gstreamer package).
You can always modify the debian/build-deps file in your gst-plugins-good repo by removing the (>= 1.8.0) for instance for all unmet dependencies. Then you can try to see if the build succeeds anyway. But then you have to make sure you installed all missing deps by hand with there correct version.
Trying to update the ruby zurb-foundation gem today. I thought foundation also got an updated gem after releasing version 5. Is there an updated version or is version 4.3.2 the latest gem in the repository?
I tryed:
gem search --remote --al zurb-foundation
result was:
zurb-foundation (4.3.2, 4.3.1, 4.3.0, 4.2.3, 4.2.2, 4.2.1, 4.2.0, 4.
4.1.2, 4.1.1, 4.0.9, 4.0.8, 4.0.7, 4.0.5, 4.0.4, 4.0.3, 4.0.2, 4.0.1
.5, 3.2.4, 3.2.3, 3.2.2, 3.2.0, 3.1.1, 3.1.0, 3.0.9, 3.0.8, 3.0.7, 3
3.0.4, 3.0.3, 2.2.1.2, 2.2.1.1, 2.2.1.0, 2.2.0.2, 2.2.0.1, 2.1.5.1,
1.4.3, 2.1.4.2, 2.1.4.1, 2.1.4, 2.1.3.1, 2.1.3, 2.1.2, 2.1.0, 2.0.3.
2.0.3.1, 2.0.2, 2.0.1, 2.0.0, 1.0.0, 0.0.5)
ZURB-foundation (2.2.1.4, 2.2.1.3, 2.2.1.2, 2.2.1.1, 2.2.1, 2.2.0.1,
2, 2.1.5.1, 2.1.5, 2.1.4.1, 2.1.4, 2.1.3.3, 2.1.3.2, 2.1.3.1, 2.1.3)
They've released the gem under a different name, it's just called foundation now instead of foundation-zurb.
Installation instructions can be found at http://foundation.zurb.com/docs/sass.html.
I found the same thing. It looks like they use bower now. I find its rather annoying to have to install nodejs, git and bower just to get the latest release.
Edit:
More here: http://foundation.zurb.com/docs/sass.html
I'm upgrading to Ember rc5 from rc3, but I'm getting the following error:
Uncaught Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version (>= 1.0.0-rc.4) or downgrade your runtime to an older version (== 1.0.0-rc.3)
Here are the relevant lines in my gemfile, taken straight from the ember-rails README (except pulling the gem from git... it gives the same error whether I include that or not)
gem 'ember-rails', git: 'https://github.com/emberjs/ember-rails.git'
gem 'ember-source', '1.0.0.rc5'
gem 'handlebars-source', '1.0.0.rc4'
I'm using rails 3.2
I know this problem has come up before, but none of the solutions I've found have made a difference. Things that haven't worked:
deleting precompiled assets
rake tmp:clear
making sure my javascrcipt load order is jquery, then handlebars, then ember
restarting the server
threatening the compiler
giving up hope and watching Buffy reruns
trying all of those in conjunction, in every imaginable order
Simple and definitive answers are best, of course, but I'd also be glad for hints on what I can study to figure this out on my own. I don't know where to start.
For now, ensure your Gemfile is using the edge version:
gem 'ember-rails', :git => 'git://github.com/emberjs/ember-rails.git'
gem 'ember-source', '1.0.0.rc5'
gem 'handlebars-source', '1.0.0.rc4'
A new version of the gem should be released to resolve the issue soon. This fixed the problem for me.
I'm trying to install Rcpp on Ubuntu 10.04 and getting this error (which implies that it doesn't exist):
> install.packages("Rcpp")
Warning in install.packages("Rcpp") :
argument 'lib' is missing: using '/home/vadmin/R/i486-pc-linux-gnu-library/2.10'
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package ‘Rcpp’ is not available
I have a working R instance and have installed many other packages.
Edit
Now I'm getting this error when running R CMD build Rcpp on the source code off svn:
** building package indices ... Error : running Stangle on vignette
'/home/vadmin/src/R/rcpp/pkg/Rcpp/inst/doc/Rcpp-modules.Rnw'
failed with message: invalid value for
'lang' : cpp ERROR: installing package
indices failed
* removing ‘/tmp/Rinst3041838816/Rcpp’ ERROR Installation failed.
A few things:
thanks for your interest in Rcpp :-)
it has been on CRAN as Rcpp for years; if you get a Rcpp not available error then you are looking at a bad CRAN mirror and I suggest using a different one
Ubuntu also has their Rcpp version of the Rcpp Debian package so you could just do 'sudo apt-get install r-cran-rcpp' (but that may be a dated version, alas)
In general, Romain and I suggest for Rcpp questions to come to the rcpp-devel list.
I'm J.I.Perotti from Argentina. First, sorry for my english. I had the same problem as stated here. But I solve it and may be useful to others. I have Ubuntu 9.10 Karmic Koala on a Pentium Dual Core T4200 (x86_64), successfully upgraded R to the 2.12.1 version, and then successfully installed Rcpp version 0.9.0
I make a kind of logbook with the process which I wrote in my blog:
http://deliriosderayohauno.blogspot.com/2011/01/r-installation.html
I don't know so much about this page, so I hope not write this where I should not (sorry if it is the case).
Best regards
I was helped by uninstalling R, and reinstalling the developer version:
sudo apt-get install r-base-dev
Then installing Rcpp in R:
install.packages('Rcpp')