Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Installing a Ruby Development Environment Installing a Ruby Development Environment Installing Ruby on Windows

Shen JIE LIN
Shen JIE LIN
10,612 Points

Installing a Ruby Development Environment

Hi, I have three problems with setting up Ruby Development Environment

  1. when I go to chrome and open up to localhost:3000 it doesn't work, I have checked to make sure that the port was 3000

  2. I am not sure if this is a problem, but when I run the "bundle exec rails server" in the windows command, it gave me a message saying "DL is deprecated, please use Fiddle"?

  3. I get an error saying "no source of timezone data could be found <TZInfo :: DataSourceNotFound>

Please help me, my environment is not working

Thanks

1 Answer

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points
  1. did you run rails server successfully? look at point 3 below.

  2. this is just a warning, it doesn't prevent bundle from working. http://stackoverflow.com/questions/15590450/ruby-2-0-0p0-irb-error-dl-is-deprecated-please-use-fiddle

  3. http://stackoverflow.com/questions/24051171/ruby-on-rails-cant-connect-to-localhost3000-127-0-0-13000-and-0-0-0-03000-o

I don't recommend using Windows for Rails development - I worked like this for a few months, but there was always something wrong, and Windows environment is much slower and less customizable. I suggest installing free VMWare Player and creating a virtual machine with Ubuntu Linux there.