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

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

Roel Martinez
Roel Martinez
206 Points

Install not working...

I am trying to install everything for Ruby and it is not working. It would probably be easier to follow if the videos were up to date.

James Barnett
James Barnett
39,199 Points

It would probably be easier to follow if the videos were up to date.

I'm not sure what you mean. The video was made with the most current version of Ruby (2.0.0) on the most current version of Windows (Windows 8). The same is true for the versions and download pages of node and git.

So I'm a little confused on what you think is out of date.

7 Answers

Roel Martinez
Roel Martinez
206 Points

When going to rubyinstaller.org they are offering Ruby2.1.4 and I have tried both and it does not work.

Jason Goebel
Jason Goebel
4,351 Points

Ok, I think i understand your problem now Roel Martinez and here is the solution:

Assuming that this is a problem caused by you running on a x64 platform.

If you where following along with the video and made the directory 'testapp' then navigate to that directory and right-click the file named 'Gemfile' and pick Open With... then pick NotePad.

At the end of that file you will see this line:

platforms: [:mingw, :mswin]

You need to edit that line to read:

platforms: [:mingw, :mswin, :x64_mingw]

Now save that file.

Now from the cmd prompt navigate back to your 'testapp' and run: bundle update

then

bundle install

now you should be able to start your server:

bundle exec rails server

I Hope this helps...

Tom Mertz
Tom Mertz
15,254 Points

Thanks Jason,

This worked great for me. I still get the "DL is deprecated, please use Fiddle". But I did some reading and it's only a warning because Windows still uses DL to link external files. It's all Greek to me, but everything else works so for now so I'll just ignore it :)

Thanks

Hi Roel!

I'm not familiar with the setup using Windows -- and I found no issue with the videos for Mac OS X or for the Treehouse VM -- but I did find a previous forum answer that might help!

Installing a Ruby Environment on Windows 8

Hello again, Roel!

What specifically isn't working? Are you getting stuck on a particular step? What version of Windows are you using? Are there any error messages that you can share, or screenshots of what is happening that you can include? In order to help you in the best, most productive way, we'll need some more to go on. :smile:

Roel Martinez
Roel Martinez
206 Points

I am getting stuck on the command prompt. When I plug in the gem install rails, it does not work... everything seems to be working fine until I start using the command prompt.

Sometimes these things take time, so I wonder: does it throw an error, or does it just look like it isn't working?

If it's the second one, you might be surprised--it might actually be installing!

Roel Martinez
Roel Martinez
206 Points

How do I know if it has been installed?

Roel Martinez
Roel Martinez
206 Points

the command prompt is saying the DL is deprected, please use Fiddle Bundler; command not found: rail Install missing gem executables with 'bundle install'