'You have already activated terraspace-bundler 0.5.0, but your Gemfile requires terraspace-bundler 0.4.4.' - gemfile

I am having this error while trying terraspace command, could you please suggest me how to fix it.

Related

Ruby on Rail running apache show index of when accessing the site

I have recently updated to Apache 2.4, and I am using Ruby on Rail to run my application. Following the upgrade, the site shows a content as seen in the image below, and the error on the log file shows this error message. I have tried using the 'Bundle Install' and checked the permission but that hasn't helped. Any advice would be greatly appreciated. Thanks
[ 2022-02-07 07:47:24.5559 8104/7efc89c8f700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /home/adminuser/hroot: An error occured while starting up the preloader.
Error ID: ba7e6074
Error details saved to: /tmp/passenger-error-RA01E9.html
Message from application: libmysqlclient.so.18: cannot open shared object file: No such file or directory - /usr/local/rvm/gems/ruby-2.0.0-p353#hroot/gems/mysql2-0.3.14/lib/mysql2/mysql2.so (LoadError)
PassengerRuby /usr/local/rvm/gems/ruby-2.0.0-p353#hroot/wrappers/ruby
SetEnv GEM_HOME /root/.gem/ruby/1.9.1
This error shows a problem with the shared objects. You probably updated MySQL/MariaDB libraries with Apache and new libraries are incompatible with your mysql2 gem build. The solution is simple:
First, ensure you are using the ruby-2.0.0-p353#hroot RVM environment.
Then, execute the following command:
gem install mysql2 --version 0.3.14
This should rebuild your mysql2 gem for the new MySQL/MariaDB client libraries on your system.
this isn't the answer anyway but another method to run ruby (in my case Windows 10 ; if you use another OS try to find out how to modify inside index.php the ruby starter)
i post here an alternative method to use apache + php +... and ruby
https://stackoverflow.com/a/71733656/5781320

Heroku Could not generate requirement for distribution -lotly 2.7.0

Hi I am having some error when I am trying to deploy my app to Heroku.
When I pip freeze>requirements.txt, I am getting this error:
"WARNING: Could not generate requirement for distribution -lotly 2.7.0 (c:\users\xxx\appdata\local\programs\python\python37-32\lib\site-packages): Parse error at "'-lotly=='": Expected W:(abcd...)"
Can anyone help me out? thanks!
You can solve this error by deleting this module from the site-packages directory. from your question above, it looks like the module is present in c:\users\xxx\appdata\local\programs\python\python37-32\lib\site-packages .
you can do a sanity check by using pip freeze .
I was getting the same error while I was trying to do "pip freeze > requirements.txt"
Could not generate requirement for distribution -eportlab3.5 ....
There should be a corrupt file on the site-packages folder similar to '~eportlab-3.5.50.dist-info' OR '~eportlab'. Delete it manually and run the same command. It should work.

Installing puppetlabs/apt fails with '302 Found'

So I have a vagrant / puppet setup for my project* and am running Ubuntu 14.04 on it. It just broke, without changing anything. puppet module install puppetlabs-apt inside the VM fails with the following lines:
Error: Could not execute operation for 'puppetlabs/apt'
The server being queried was https://forge.puppetlabs.com
The HTTP response we received was '302 Found'
Check the author and module names are correct.
I'm using this module for quite some time and it seems like it just stopped working for no reason. Any advice appreciated.
-- Edit: answer question
running it with --debug doesn't help much I guess
Notice: Preparing to install into /home/vagrant/.puppet/modules ...
Notice: Created target directory /home/vagrant/.puppet/modules
Notice: Downloading from https://forge.puppetlabs.com ...
Error: Could not execute operation for 'puppetlabs/apt'
The server being queried was https://forge.puppetlabs.com
The HTTP response we received was '302 Found'
Check the author and module names are correct.
*Link: https://github.com/dwalldorf/owTracker
vagrant up / vagrant ssh and puppet module install puppetlabs-apt
This should be fixed. You can check FORGE-327 for more information
https://forge.puppetlabs.com/puppetlabs/apt redirect to https://forge.puppet.com/puppetlabs/apt
you can force it to use the correct forge by appending --module_repository https://forge.puppet.com/ so it will become
puppet module install puppetlabs-apt --module_repository https://forge.puppet.com/
not sure exactly why it wants to download from https://forge.puppetlabs.com at first place, you could check your puppet.conf

Error -60005 when install Cocos2d-iPhone v3 RC4

When I try to install Cocos2d-iphone 3.0.0 RC4, I got an error: (run without sudo)
Error -60005 occurred while executing script with privileges.
So, I try to show its package content and use terminal to do: cd ...Cocos2D Installer 3.0.0.app/Contents/MacOS
I try this command: (with sudo)
sudo ./Cocos2D\ Installer\ 3.0.0
It works but I got log with some errors:
[1m>>> Installing Cocos2D-v3.0.0 files (B[m
[1m>>> Installing Cocos2D-v3.0.0 templates (B[m
[4m[1mCocos2D Template Installer (Cocos2D-v3.0.0)(B[m
Error: [31m✖︎(B[m Script cannot be executed as root.
In order for it to work properly, please execute the script again without 'sudo'.
If you want to know more about how to use this script execute '/Users/viethung/Downloads/Cocos2D-v3.0.0/install.sh --help'.
[1m>>> Building/Installing Cocos2D-v3.0.0 documentation, this may take a minute.... (B[m
appledoc version: 2.2 (build 963)
Generation step 4/5 failed: GBDocSetInstallGenerator failed generating output, aborting!
Documentation set was installed, but couldn't reload documentation within Xcode.
Xcode got an error: No documentation set present at specified path.
[1m>>> Cocos2D-v3.0.0 installation complete! (B[m
Are there any way is better than this way?
I have same problem.
I think you installed old cocos2d-iphone and it caused this problem.
You should remove old cocos2d-iphone first. I removed:
~/Library/Developer/Xcode/cocos2d v3.x
And install again. It works for me.
Hope it works for you :)

gem update sqlite3-ruby failed on Windows 7

This is the command I gave in command prompt:
gem install sqlite3-ruby > sqlite3-ruby.txt
This is the content of sqlite3-ruby.txt
Successfully installed sqlite3-ruby-1.2.5-x86-mswin32
1 gem installed
Installing ri documentation for sqlite3-ruby-1.2.5-x86-mswin32...
Installing RDoc documentation for sqlite3-ruby-1.2.5-x86-mswin32...
Rest of the command prompt was full of the following:
...
No definition for _wrap_sqlite3_value_text
No definition for _wrap_sqlite3_value_text16
No definition for _wrap_sqlite3_value_text16le
No definition for _wrap_sqlite3_value_text16be
No definition for _wrap_sqlite3_value_type
No definition for _wrap_sqlite3_result_blob
No definition for _wrap_sqlite3_result_double
No definition for _wrap_sqlite3_result_error
No definition for _wrap_sqlite3_result_error16
No definition for _wrap_sqlite3_result_int
No definition for _wrap_sqlite3_result_int64
No definition for _wrap_sqlite3_result_text
No definition for _wrap_sqlite3_result_text16
No definition for _wrap_sqlite3_result_text16le
No definition for _wrap_sqlite3_result_text16be
No definition for _wrap_sqlite3_result_value
No definition for _wrap_sqlite3_aggregate_context
...
While trying to create a database, I tried the following in command prompt:
rake db:create
A message box pops up saying that sqlite3.dll is missing. I need to reinstall the application. I tried gem update sqlite3-ruby command again and same thing happened.
How to resolve this issue? Thanks in advance.
This might be a silly answer, but did you install sqlite3?
http://www.sqlite.org/download.html
A message box pops up saying that sqlite3.dll is missing
Well, is it?

Resources