Updating gem os x


no Building nokogiri using packaged libraries.-----The file "/usr/include/iconv.h" is missing in your build environment,which means you haven't installed Xcode Command Line Tools properly.To install Command Line Tools, try running `xcode-select --install` onterminal and follow the instructions.

compatibility dating quiz



I deleted the Myapp folder and did the Final steps again I did get this message though I'm not sure if it will affect anything - ( ahh its probably because i used the command earlier and its not a part of the myapp folder i deleted)Keiths-i Mac:myapp Home$ rake db:createmyapp_development already existsmyapp_test already exists When i used "Rails Server" this time i got a better result and now Im able to access localhost:3000, Perseverance has paid off. nozlib is missing; necessary for building libxml2*** failed ***Could not create Makefile due to some reason, probably lack of necessarylibraries and/or headers. yeschecking if the C compiler accepts -Wno-error=unused-command-line-argument-hard-error-in-future...There are plenty of people who have documented solutions for them. Homebrew allows us to install and compile software packages easily from source. When it asks you to install XCode Command Line Tools, say yes.Open Terminal and run the following command: We'll be using Git for our version control system so we're going to set it up to match our Github account. Chances are you won't want to use it because it's stored as a simple file on disk.You can install My SQL server and client from Homebrew: # To have launchd start postgresql at login: ln -sfv /usr/local/opt/postgresql/*plist ~/Library/Launch Agents # Then to load postgresql now: launchctl load ~/Library/Launch Agents/postgresql.plistrails new myapp #### If you want to use My SQL rails new myapp -d mysql #### If you want to use Postgres # Note you will need to change config/database.yml's username to be # the same as your OSX user account.

(for example, mine is 'chris') rails new myapp -d postgresql # Move into the application directory cd myapp # If you setup My SQL or Postgres with a username/password, modify the # config/file to contain the username/password that you specified # Create the database rake db:create rails server When I try to install Homebrew, I get:csu:~$ ruby -e "$(curl -fs SL https://raw.github.com/Home..."dyld: Library not loaded: /usr/local/lib/libgmp.10.dylib Referenced from: /Users/christophersu/.rvm/rubies/ruby-2.1.1/bin/ruby Reason: image not found Trace/BPT trap: 5csu:~$ After yosmite posters has stopped working/Users/jitendravyas/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activerecord-4.1.6/lib/active_record/connection_adapters/postgresql_adapter.rb:888:in `initialize': could not connect to server: No such file or directory (PG:: Error)Is the server running locally and acceptingconnections on Unix domain socket "/tmp/.s. from /Users/jitendravyas/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/activerecord-4.1.6/lib/active_record/connection_adapters/postgresql_adapter.rb:888:in `new' Your SQL server may not be running either just because it wasn't started or because of an error.

We will be setting up a Ruby on Rails development environment on Mac OS X 10.10 Yosemite.



Updating gem os x comments


  • How to install/update Ruby on Rails on Ubuntu 9.10? - Super User profil de paulette60

    paulette60

    How to install/update Ruby on Rails on. bin/rails $ rails -v Rails 2.2.2 $ gem install sqlite3-ruby Bulk updating Gem source. from Mac OS X 10.…