Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem running website at the uni #32

Open
javier-romero opened this issue Feb 1, 2024 · 1 comment
Open

Problem running website at the uni #32

javier-romero opened this issue Feb 1, 2024 · 1 comment
Assignees

Comments

@javier-romero
Copy link
Collaborator

Hi @rkaminsk,

I was trying to follow the instructions of the README to launch locally the website and I got this error:

bundle install --path .bundle
[DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set path '.bundle'`, and stop using this flag
Warning: the running version of Bundler (2.1.4) is older than the version that created the lockfile (2.3.7). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.3.7`.
The dependency tzinfo (~> 1.2) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x86_64-linux, ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32 java`.
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x86_64-linux, ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32 java`.
The dependency wdm (~> 0.1.1) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x86_64-linux, ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32`.
Fetching gem metadata from https://rubygems.org/............
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
public_suffix-5.0.3 requires ruby version >= 2.6, which is incompatible with the current version, ruby 2.5.5p157

It says public_suffix-5.0.3 requires ruby version >= 2.6 but when I try to install some higher version of ruby I get this error:

conda create -n potassco-asp-course-test -c conda-forge ruby=3.2.2 rb-bundler cxx-compiler
Collecting package metadata (current_repodata.json): done                                                                                                                                                                                                                       
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: - 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                                                                                                                                                                                                                          

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package ruby conflicts for:
rb-bundler -> ruby[version='>=2.5.5,<2.6.0a0|>=2.5.7,<2.6.0a0']
ruby=3.2.2

Package libstdcxx-ng conflicts for:
rb-bundler -> ruby[version='>=2.5.5,<2.6.0a0'] -> libstdcxx-ng[version='>=7.3.0']
cxx-compiler -> gxx_linux-64=7 -> libstdcxx-ng==7.2.0=h24385c6_1
ruby=3.2.2 -> gmp[version='>=6.3.0,<7.0a0'] -> libstdcxx-ng[version='>=11.2.0|>=12|>=9.4.0|>=7.5.0|>=7.3.0']
cxx-compiler -> libstdcxx-ng[version='>=7.3.0|>=7.5.0|>=9.3.0']

Package _libgcc_mutex conflicts for:
ruby=3.2.2 -> libgcc-ng[version='>=12'] -> _libgcc_mutex[version='*|0.1',build='conda_forge|main|main']
cxx-compiler -> libgcc-ng[version='>=9.3.0'] -> _libgcc_mutex[version='*|0.1',build='conda_forge|main|main']The following specifications were found to be incompatible with your system:

  - feature:/linux-64::__glibc==2.28=0
  - feature:|@/linux-64::__glibc==2.28=0
  - ruby=3.2.2 -> libgcc-ng[version='>=11.2.0'] -> __glibc[version='>=2.17']

Your installed version is: 2.28

so I get that rb-bundler requires a version of ruby under 2.6

rb-bundler -> ruby[version='>=2.5.5,<2.6.0a0|>=2.5.7,<2.6.0a0']
@rkaminsk
Copy link
Collaborator

rkaminsk commented Feb 1, 2024

rb-bundler is no longer required for ruby 2.6 and later. You can simply remove it from the package list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants