parent
d6b37a1644
commit
402643435d
|
@ -40,20 +40,32 @@ export PATH=$PATH:/home/private/gems/bin
|
||||||
export RB_USER_INSTALL='true'
|
export RB_USER_INSTALL='true'
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
On Mac OS X, you may need to update RubyGems:
|
On Mac OS X, you may need to update RubyGems (using `sudo` only if necessary):
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
sudo gem update --system
|
sudo gem update --system
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
If you still have issues, you may need to [use Xcode to install Command Line
|
If you still have issues, you can download and install new Command Line
|
||||||
Tools](http://www.zlu.me/ruby/os%20x/gem/mountain%20lion/2012/02/21/install-native-ruby-gem-in-mountain-lion-preview.html)
|
Tools (such as `gcc`) using the command
|
||||||
that will allow you to install native gems using the following command:
|
|
||||||
|
{% highlight bash %}
|
||||||
|
xcode-select --install
|
||||||
|
{% endhighlight %}
|
||||||
|
|
||||||
|
which may allow you to install native gems using this command (again using
|
||||||
|
`sudo` only if necessary):
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
sudo gem install jekyll
|
sudo gem install jekyll
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
|
Note that upgrading MacOS X does not automatically upgrade Xcode itself
|
||||||
|
(that can be done separately via the App Store), and having an out-of-date
|
||||||
|
Xcode.app can interfere with the command line tools downloaded above. If
|
||||||
|
you run into this issue, upgrade Xcode and install the upgraded Command
|
||||||
|
Line Tools.
|
||||||
|
|
||||||
To install RubyGems on Gentoo:
|
To install RubyGems on Gentoo:
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
|
|
Loading…
Reference in New Issue