![brew install mongodb fail bad substitution brew install mongodb fail bad substitution](https://i.stack.imgur.com/SDB43.png)
Run a test appįor rails 3 users who want default sqlite3 you can do rails new dbtest_app For rails 2 users rails dbtest_app Otherwise pass a database definition like so: for rails3+mysql do rails new dbtest_app -d mysql Or for rails2+mysql do rails dbtest_app -d mysql You can also delete the uncompressed rubygems-1.3.7 directory-HOWEVER, just to be safe I would rename that directory and keep in your home directory mv rubygems-1.3.7 rgems1.3.7 for a at least a few days to make sure everything works fine… then delete it. Now you should be able to delete the rubygems-1.3.7.tgz.
![brew install mongodb fail bad substitution brew install mongodb fail bad substitution](https://i.stack.imgur.com/kS3EE.png)
Sudo apt-get install libsqlite3-dev build-essential You can define any version you want (for example 2.3.2, 2.3.5, 2.3.8, 3.0), and you can also do it this wayīut I prefer the version flag coming first so that I never forget to specify what I need.įor good measure you should install sqlite-3 stuff Wget production.cf./rubygems/rubygems-1.3.7.tgz #ubuntu full install includes lots of dependencies and will save time Mysql-server libmysqlclient-dev libmysql-ruby You’ll want to sudo apt-get install the following packages Latest version of Ubuntu linux (10.10) needs some special attention for mysql gem. I WROTE THIS FOR ANYONE, BUT ESPECIALLY ADDING CONTENT FOR THOSE UNFAMILIAR WITH RAILS Here are some (helpful?) notes.Īll code examples are in the command line. I’m no expert because my main dev environment is on a MacBook Pro, but I’ve trogged through enough difficult setup issues to want to switch Mac forever.
![brew install mongodb fail bad substitution brew install mongodb fail bad substitution](https://beesbuzz.biz/static/headshot.jpg)
Brew install mongodb fail bad substitution how to#
Package managers Aptitude (apt-get) and Rubygems (gem install) need to play nice if your coding on Ubuntu, and more important, you need to know how to make them play nice.