timid nuby; I need help getting Rails installed on my computer

37 views
Skip to first unread message

Chuck Williams

unread,
May 12, 2015, 5:28:29 PM5/12/15
to rubyonra...@googlegroups.com
Can anyone do a private sidebar to help me get past some installation issues?

I'm at the point where I type >rails server
it says can't find json-1.8.2  run bundle install
so I type >bundle install
it says it failed because json  requires installed build tools.

Google says to install the DevKit again... done... but its the same as above.

So far I'm not finding the solution on Google.

Can anyone help?

Chuck

Norm Scherer

unread,
May 12, 2015, 10:54:39 PM5/12/15
to rubyonra...@googlegroups.com
We need to know the type of system you are trying to install in.  Windows and Mac and Linux are all quite different.

Norm
--
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/4df7db91-aca3-45e3-906a-4bb473d7fb2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Frederick Cheung

unread,
May 13, 2015, 5:08:17 AM5/13/15
to rubyonra...@googlegroups.com, mrch...@gmail.com


On Tuesday, May 12, 2015 at 10:28:29 PM UTC+1, Chuck Williams wrote:
Can anyone do a private sidebar to help me get past some installation issues?

I'm at the point where I type >rails server
it says can't find json-1.8.2  run bundle install
so I type >bundle install
it says it failed because json  requires installed build tools.

Google says to install the DevKit again... done... but its the same as above.


Getting things right on windows can be quite finicky - knowing how you installed ruby, exactly what commands you are running, where and the exact output is useful. The devil is usually in the details; without them it's just wild guesses.

Fred

Paramnoor Singh

unread,
May 13, 2015, 6:03:09 AM5/13/15
to rubyonra...@googlegroups.com, frederic...@gmail.com
Try with these command. I sure you find your answer.

Installation on window:

    the latest version of ruby
2) install the product  

3) Devkit install

in c:/DevKit folder

4) ruby dk.rb init

5) type config.yml
6) ruby dk.rb install
7) gem install json --platform=ruby

8) ruby -rubygems -e "require json: puts JSON.load<'[42]'>.inspect"

9)   gem  update --system
     for checking version check gem -v

10)  gem install rails

11) rails new application_name

--
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.

Paramnoor Singh

unread,
May 13, 2015, 6:04:02 AM5/13/15
to rubyonra...@googlegroups.com, frederic...@gmail.com
  If giving error of SSL then save the following code in a file named cacert.pem and save in c:/railsinstaller/ folder.
  2. then run the following command 
     set SSL_CERT_FILE=C:\RailsInstaller\cacert.pem
     and then try 
     bundle install command again

Thanks
Reply all
Reply to author
Forward
0 new messages