Ruby on Rails Friday, June 27, 2014

Juhuu! That was it, thanks so much:-) Now everything looks good!

On Friday, June 27, 2014 12:43:07 PM UTC+2, M,Gopi M.gopinath wrote:
before giving the installation command,

use sudo permission

Eg : To install rails 

        sudo gem install rails -v "3.2.0"

Best Regards,

Gopinath M

Ruby on Rails Developer

Contact : +91-9994652146

Skype Id : gopinath.murugan







On Fri, Jun 27, 2014 at 2:23 PM, Hanna Kloetzer <hanna.k...@gmail.com> wrote:
Hi everybody!

I am founding my own internet business and even though it is not on me to code the web application, I set myself the goal to learn Ruby on Rails to better understand what our programmer is doing. I tried to install it yesterday on my Mac (Macbook Pro 10.9.3) and I got a few error messages that I cannot explain. I would very much appreciate your help on that - my programmer is on vacation for 3 weeks, otherwise I would have asked him:-)

That's what I did:

1. I downloaded Xcode 5 sucessfully

2. I searched for the Terminal, found it and installed the RVM successfully, but it always gave me these messages, which I cannot explain:
sed: 1: "\#^system_type=# { s#^s ...": extra characters at the end of p command
sed: 1: "\#^system_type=# { s#^s ...": extra characters at the end of p command
sed: 1: "\#^system_name=# { s#^s ...": extra characters at the end of p command
sed: 1: "\#^system_name=# { s#^s ...": extra characters at the end of p command
sed: 1: "\#^system_name_lowercas ...": extra characters at the end of p command
sed: 1: "\#^system_name_lowercas ...": extra characters at the end of p command
sed: 1: "\#^system_version=# { s ...": extra characters at the end of p command
sed: 1: "\#^system_version=# { s ...": extra characters at the end of p command
sed: 1: "\#^system_arch=# { s#^s ...": extra characters at the end of p command
sed: 1: "\#^system_arch=# { s#^s ...": extra characters at the end of p command

3. I installed Ruby successfully (ruby 2.0.0p451)

4. I tried to update the gem package but it gave me this message, which I cannot explain:
Updating installed gems
Updating CFPropertyList
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.

5. I tried to install Rails 3.2.0 with this command: gem install rails --version '~> 3.2.0'. Again, I got an error message
Fetching: multi_json-1.10.1.gem (100%)
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.

Anyone knows what this means and what I can do to finalize the installation?

Thanks so much!
Best,
Hanna


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/bc605ac0-834f-427e-b03c-186f16de69b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/19f180f6-e936-41d7-85be-9a6c03905186%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment