I installed MonoDevelop 2.2 for the Mac OS X and when I start I get the error described on the title. The weird thing is that I already installed the mono framework.
Any ideas?
apparently my Mac OS X installation was corrupted and the grep command (among other commands) was missing. It seems like MonoDevelop uses the grep command to get the MonoFramework version and it was erroring out. A fresh new install of the OS solved my problem
Related
Rails version 6.0.4.6
Ruby Version 2.7.5p203
mySql version 8
OS Window 10
I am having issues getting the mysql2 gem to work. The latest error I have is not being able to locate "mysql2 x64-mingw32" file. I installed the gem using this command:
gem install mysql2 --platform=ruby -- --with-mysql-dir="C:\Program Files\MySQL\Connector C++ 8.0"
--with_mysql-lib="C:\Program Files\MySQL\Connector C++ 8.0\lib64" --with_mysql_include="C:\Program Files\MySQL\Connector C++ 8.0\include"
It appears to have been installed correctly but still will not work. I have run bundle install. I have also tried deleting the gem.lock file and the running bundle install.
If anyone has had success in getting ruby to work with MySQL on a Windows machine, please let me know how you did it.
After many trails, it appears the Ruby just doesn't play well with Windows OS. While I expect that some do use Ruby on Windows, it appears the support is lacking, and the community is small.
I installed a Linux terminal on my machine and had much better luck.
Just posting to keep other from pulling their hair out.
I have downloaded Xcode7 beta5 from Xcode link.However,when I click the dmg file,and the prompt interface is:
Why there is a forbidden mark above the Xcode icon?Does anyone knows how to fix it.
My system version is OS X Yosemite 10.10.3.
I have figured it out. Xcode7 beta5 requires OSX version to be 10.10.4 or above.
I believe it only installs OS X 10.10.3 or later. Is that what you are running?
I cannot seem to run a rail application configured to MySQL. When I run the project, I get the following error:
193: %1 is not a valid Win32 application. - C:/Ruby193/lib/ruby/gems/1.9.1/gems/mysql-2.8.1-x86-mingw32/lib/1.9/mysql_api.so
I've noticed others have hit this but I didn't find any solutions that worked for me. Here's what I've tried so far:
Copying libmysql.dll to the ruby bin folder
Tried older version of MySQL (5.0)
Checked the ImagePath for MySQL on regedit
Can anyone provide guidance here? Is this just a lost cause? Does using Linux or other versions of Ruby/Rails/MySQL combo fix this?
Looks that you installed the binary pre-compiled version of MySQL gem, which requires an specific version of MySQL to be installed.
More important, it requires an specific version of libmysql.dll be available in the PATH so the gem can use it.
I would recommend you uninstall the pre-compiled gem and proceed with the manual compilation steps described here:
http://blog.mmediasys.com/2011/07/07/installing-mysql-on-windows-7-x64-and-using-ruby-with-it/
This has been answered before too:
Ruby Gem for mysql 5.5 in windows
Is Datamapper's dm_mysql_adapter gem supported on windows?
Finally installed MySQL for Rails in Windows 64 bit, and now
on windows Mysql native extension prob in ruby on rails gem time
Hope that helps.
I am able to get mt-check to run, but it says that DBD::MySQL module is not installed. Here is what it says:
DBI (version >= 1.21)
Your server has DBI installed (version 1.52).
DBD::mysql
Your server does not have DBD::mysql installed, or DBD::mysql requires another module that is not installed. The DBD::mysql database driver is required to use MySQL Database. Please consult the installation instructions for help in installing DBD::mysql.
However, when I run sudo cpan DBD:mysql it says that it is up-to-date:
CPAN: Storable loaded ok (v2.19)
Going to read /Users/.../.cpan/Metadata
Database was generated on Thu, 01 Jul 2010 04:28:19 GMT
DBD::mysql is up to date (4.014).
When I try to run mt.cgi I get an error:
install_driver(mysql) failed: Can't locate DBD/mysql.pm in #INC...
When I checked perl -V (or sudo perl -V) the #INC value doesn't include the path that is listed by cpan for being correctly installed.
Is the issue that it is installed for me (user) rather than the system? Do I need to reinstall the module? Have you come across this?
If it helps, I am using Mac OS 10.5.5 with MT 4.3.2.I
Any help is greatly appreciated.
Thanks!
I'm posting on this old question because getting Movable Type to run on MacOS X has been a challenge for me, and I am in the business of providing technical support for Movable Type.
Successful installation procedures vary by build of MacOS X. This means that the easiest way to get Movable Type running on MacOS X 10.5.5 may not be the easiest for 10.6 (Snow Leopard), 10.7 (Lion), 10.8 (Mountain Lion), etc. Successful installation procedures differ if you are running MacOS X Server instead of MacOS X, especially prior to Mountain Lion.
In terms of getting MacOS X 10.5.5 to run Movable Type 4.3x, which was the original question, I'd recommend reading and following Install Movable Type on a Mac written by Beau Smith back in May 2009. This contains very specific instructions for MacOS X 10.5.5. I successfully installed Movable Type on that build of MacOS by following these instructions.
try running sudo cpan force install DBD::mysql
I have had similar experiences as Dave, with configs changing by each version of OSX. The latest issue was after upgrading from Mountain Lion to Mavericks (10.9). I got the same error the original user reported. HaloWebMaster’s answer was close to what I needed, but my OSX does not have cpan as an available Terminal command by default, so I resolved it this way:
sudo perl -MCPAN -e shell
# enter password, then hit enter to accept defaults at all prompts if CPAN needs to set up
cpan[1]> install DBD::mysql
This ended with /usr/bin/make install -- OK, and then I typed exit to exit CPAN shell.
At this point, I reloaded mt.cgi and everything was back to normal.
The problem maybe with PERL. I SOLVED this problem using the tutorial - http://codesphpjs.blogspot.com/2015/04/install-movabletype-on-wamp-server.html
installing Strawberry Perl was solution
I installed the ruby gem for mysql and it looks like it installed correctly except for the documentation.
I reviewed http://www.rhinocerus.net/forum/lang-ruby/587057-gem-install-mysql-returns-list-no-definition-xyz.html but it didn't help.
Some notes, I am running on a 32-bit intel processor. Mac os x 10.6.1
Mac-Shaun:usr shaun$ sudo gem install mysql
Building native extensions. This could take a while...
Successfully installed mysql-2.8.1
1 gem installed
Installing ri documentation for mysql-2.8.1...
No definition for next_result
No definition for field_name
..
..
More No Definitions.
..
..
[1]: http://www.rhinocerus.net/forum/lang-ruby/587057-gem-install-mysql-returns-list-no-definition-xyz.html "some posts in comp.lang.ruby" that match my issue
If you upgraded to Snow Leopard or this is your first time installing rails on your Mac, you need to do some prep work.
First, all Intel based Macs are 64 bit. You need to install the 64 bit version of MySQL. If you have installed the 32 bit version, you will need to remove it.
Second, you will have to install XCode bundled with Snow Leopard. This is available on the Snow Leopard install disk.
Finally, if you have upgraded from Leopard to Snow Leopard and installed your own version of ruby on Leopard, you need to remove it. Snow Leopard is bundled with Ruby 1.8.7, and having multiple versions of ruby will cause conflicts.
I've documented the whole process on my blog.